[Freeswitch-users] loopback question
Madovsky
infos at madovsky.org
Thu Dec 2 04:22:19 MSK 2010
I solved it by adding (\+)
<condition field="${sip_to_uri}" expression="^(\+)([2-9]\d{10,15})@$${domain}$">
thanks
----- Original Message -----
From: Michael Collins
To: FreeSWITCH Users Help
Sent: Wednesday, December 01, 2010 8:03 PM
Subject: Re: [Freeswitch-users] loopback question
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
------------------------------------------------------------------------------
_______________________________________________
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/026f7b8f/attachment.html
More information about the FreeSWITCH-users
mailing list