Hello,
i would like to call a macro for fax-receiving I found on the net:
normally on pure asteris I use it like that:
exten => 26306749,1,Wait(3)
exten => 26306749,n,Macro(custom-faxempfang)
[macro-custom-faxempfang]
exten => s,1,Set(SCRIPTFILE=/var/lib/asterisk/scripts/fax2mail)
exten => s,n,Set(FAXFILE=/var/spool/asterisk/fax/${UNIQUEID})
exten => s,n,Set([email protected])
exten => s,n,rxfax(${FAXFILE})
exten => s,n,system("${SCRIPTFILE}" “${CALLERIDNUM}” “${MAILADDR}” “${UNIQUEID}”)
But how do I call it from inbound route in freepbx ?
With Custom-App i treid several syntaxes but it did not work.
Thnaks for your help and best regards
Niels Przybilla