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... 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... I would try outbound sockets though. They seem more fit to your scenario... Em 09/04/2012 05:22, "Alex Crow" <acrow@integrafin.co.uk> escreveu:
On 09/04/12 01:08, Wesley Akio wrote:
The script that does the polling is the one called by curl? Remember curl will return only when that script finishes.
Wesley,
Yes. The script sends an ESL execute for the pagd and tries to poll for a response. Are you saying that I won't hear the PAGD until the script returns, so waiting for a response actually prevents it from playing until the script times out?
Cheers
Alex
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org