[Freeswitch-users] Intermittent curl execution after rxfax

Steven Ayre steveayre at gmail.com
Sat Feb 12 12:24:05 MSK 2011

Perhaps the aleg hangs up after rxfax but before curl is executed? If the aleg hangs up the remaining extension actions won't run.

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.

Steve on iPhone

On 11 Feb 2011, at 22:26, Frank Park <frank at telonium.com> wrote:

> Hello,
> 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).
> 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.
> Dialplan looks as follows actually values are obfuscated:
>         <condition field="destination_number" expression="^(99999)$">
>           <action application="answer"/>
>           <action application="playback" data="silence_stream://2000"/>
>           <action application="rxfax" data="/usr/local/freeswitch/storage/fax/${uuid}.tiff"/>
>           <action application="curl" data="http://abc.test post uuid=${uuid}"/>
>           <action application="hangup"/>
>         </condition>
> Thanks,
> Frank
> -- 
> ----=======================----
> Frank Park
> Telonium Communications, LLC
> frank at telonium.com
> http://www.telonium.com
> Follow Us on Twitter: @GetTelonium
> 404-566-8888 x1001 Office
> 404-939-4242 Cell
> ----=======================----
> _______________________________________________
> 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/20110212/2fd76d80/attachment.html 

More information about the FreeSWITCH-users mailing list