I am not sure about PHP AGI, but in general via AGI you can monitor the
state of the call and so you can know when the call is over.
l.


2013/4/17 Rahul R <[email protected]>

> Hello List,
>
> In PHPAGI, I'm using the Astrisk Manager function send_request() to
> originate an outbound call. I want to execute the remaining PHP code after
> the call gets executed (depending on user input). But presently the call
> originates in a different context and asterisk executes the remaining code
> in parallel.
> Is there a way in which I can pause the code execution until the call is
> completed.
>
> Note: I wish to return to the context from which the call was originated
> and continue execution.
>
> Any help is greatly appreciated.
> --
> Thanks & Regards
> Rahul
> http://about.me/rahulr92
> +919567607741
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Loway - home of QueueMetrics - http://queuemetrics.com
Test-drive WombatDialer beta @ http://wombatdialer.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to