<p>I'll try it today to be certain but yes, I'm assuming your dialplan execution blocks on curl since only one application will be run on the call at a time...</p>
<p>One thing you can try is to schedule curl to run on the background and park the call right after, that way you will be certain curl is not the issue since it will be running on another thread...</p>
<p>I would try outbound sockets though. They seem more fit to your scenario...<br></p>
<p>Em 09/04/2012 05:22, "Alex Crow" <<a href="mailto:acrow@integrafin.co.uk">acrow@integrafin.co.uk</a>> escreveu:<br>
><br>
> On 09/04/12 01:08, Wesley Akio wrote:<br>
> ><br>
> > The script that does the polling is the one called by curl? Remember<br>
> > curl will return only when that script finishes.<br>
> ><br>
> ><br>
><br>
> Wesley,<br>
><br>
> Yes. The script sends an ESL execute for the pagd and tries to poll for<br>
> a response. Are you saying that I won't hear the PAGD until the script<br>
> returns, so waiting for a response actually prevents it from playing<br>
> until the script times out?<br>
><br>
> Cheers<br>
><br>
> Alex<br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com">http://www.cluecon.com</a><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">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</p>