[Freeswitch-users] loopback question
Michael Collins
msc at freeswitch.org
Thu Dec 2 04:03:00 MSK 2010
I'm guessing that "sip_to_uri" may not be matching. Pastebin the debug log
of the call failing and we'll take a look.
-MC
On Tue, Nov 30, 2010 at 3:01 PM, Madovsky <infos at madovsky.org> wrote:
>
> 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
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101201/bf31f9f4/attachment.html
More information about the FreeSWITCH-users
mailing list