[Freeswitch-users] loopback question
Madovsky
infos at madovsky.org
Tue Nov 30 15:01:18 PST 2010
Hi,
what is the logical to send a fax outside from gateway with originate that sends the call to the default dialplan ?
I tried ths :
originalte {filetofax=myfax.tiff}loopback/0000numberToSendFax/default 99999999
and put this in default dialplan
<extension name="send_fax">
<condition field="${sip_to_uri}" expression="^\+([2-9]\d{10,15})@$${domain}$">
<action application="set" data="hangup_after_bridge=false"/>
<action application="set" data="continue_on_fail=false"/>
<action application="ring_ready"/>
<action application="set" data="absolute_codec_string=PCMU"/>
<action inline="true" application="set" data="fax_file=${fax_file}"/>
<action application="transfer" data="sendfax XML features"/>
</condition>
</extension>
but doesn't work.
Any ?
Thanks
Franck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101130/f5eb95f6/attachment.html
More information about the FreeSWITCH-users
mailing list