<html><body bgcolor="#FFFFFF"><div>Perhaps the aleg hangs up after rxfax but before curl is executed? If the aleg hangs up the remaining extension actions won't run.</div><div><br></div><div>Looks like you're only using it to indicate a fax has been received? Try using ESL or CDRs. Mod_xml_cdr can post a CDR to a server and will have various variables set that indicate the fax has been received.</div><div><br>Steve on iPhone</div><div><br>On 11 Feb 2011, at 22:26, Frank Park <<a href="mailto:frank@telonium.com">frank@telonium.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div>Hello,</div><div><br></div><div>I am trying to troubleshoot this dialplan. I have a dial that receives the fax and executes a curl that invokes a script on a remote site (emails the fax, and does few more things).</div>
<div>rxfax works fine and saves the tiff file accordingly, but every so often (about 50% of the time), curl call doesn't get executed. It doesn't even show up on the fs_cli log of it being executed, not to mention the apache side on the other end.</div>
<div><br></div><div><br></div>Dialplan looks as follows actually values are obfuscated:<div><div> <condition field="destination_number" expression="^(99999)$"></div><div> <action application="answer"/></div>
<div> <action application="playback" data="silence_stream://2000"/></div><div> <action application="rxfax" data="/usr/local/freeswitch/storage/fax/${uuid}.tiff"/></div>
<div> <action application="curl" data="<a href="http://abc.test"><a href="http://abc.test">http://abc.test</a></a> post uuid=${uuid}"/></div><div> <action application="hangup"/></div><div> </condition></div>
<div><br></div><div>Thanks,</div><div>Frank</div><br>-- <br><div><br></div><div>----=======================----</div><div>Frank Park</div><div>Telonium Communications, LLC</div><div><a href="mailto:frank@telonium.com" target="_blank"><a href="mailto:frank@telonium.com">frank@telonium.com</a></a></div>
<div><a href="http://www.telonium.com" target="_blank"><a href="http://www.telonium.com">http://www.telonium.com</a></a></div><div>Follow Us on Twitter: @GetTelonium</div><div>404-566-8888 x1001 Office</div><div>404-939-4242 Cell</div><div>----=======================----</div>
<div><br></div><br>
</div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>