[asterisk-users] Phpagi action based on outbound call user response

Lenz Emilitri lenz.loway at gmail.com
Fri Apr 19 03:36:42 CDT 2013

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.

2013/4/17 Rahul R <rahulr92 at gmail.com>

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130419/4f88f383/attachment.htm>

More information about the asterisk-users mailing list