how to call a macro from inbound ?

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(MAILADDR=np@sf-design.net)
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
__________________



how to call a macro from inbound ?
FreePBX already contains a macro to receive faxes. Check out extensions.conf.
how to call a macro from inbound ?
Hi,
but I dod not find out, where to set the DID that receives the faxes ...
I can see that system can take axes, but on which inbound-route ?
Best regards
Niels
how to call a macro from inbound ?
Just add an Inbound Route, and configure the Fax settings for that DID.