[Freeswitch-users] Dialplan/PHP esl variable problem.
wesleyakio at tuntscorp.com
Mon Apr 9 14:19:03 MSD 2012
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 at 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.
> 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?
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users