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.<div><br></div><div>-MC<br><br><div class="gmail_quote">On Tue, Nov 30, 2010 at 3:01 PM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2"></font> </div>
<div><font size="2">Hi,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">what is the logical to send a fax outside from gateway with
originate that sends the call to the default dialplan ?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">I tried ths :</font></div>
<div><font size="2"></font> </div>
<div><font size="2">originalte
{filetofax=myfax.tiff}loopback/0000numberToSendFax/default 99999999</font></div>
<div><font size="2"></font> </div>
<div><font size="2">and put this in default dialplan</font></div>
<div><font size="2"></font> </div>
<div><font size="2"><extension name="send_fax"><br> <condition
field="${sip_to_uri}"
expression="^\+([2-9]\d{10,15})@$${domain}$"><br> <action
application="set" data="hangup_after_bridge=false"/><br>
<action application="set" data="continue_on_fail=false"/><br>
<action application="ring_ready"/><br> <action
application="set" data="absolute_codec_string=PCMU"/><br>
<action inline="true" application="set"
data="fax_file=${fax_file}"/><br> <action
application="transfer" data="sendfax XML features"/><br>
</condition><br></extension></font></div>
<div><font size="2"></font> </div>
<div><font size="2"></font> </div>
<div><font size="2">but doesn't work.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Any ?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thanks</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Franck</font></div>
<div><br></div></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>