[asterisk-users] AGI: blocking script until playback complete

Zohair Raza engineerzuhairraza at gmail.com
Wed Feb 22 09:41:55 CST 2012


I gave it from phpagi.

It works for me using phpagi's function get_data

http://phpagi.sourceforge.net/phpagi22/api-docs/phpAGI/AGI.html

Regards,
Zohair Raza


On Wed, Feb 22, 2012 at 7:20 PM, Chris Bagnall
<asterisk at lists.minotaur.cc>wrote:

> The problem seems to be that GET DATA returns control to the script before
> the audio file has even played, let alone any DTMF tones have been entered.
> I would have expected script execution to be blocked until the result from
> GET DATA was available.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120222/78e004b4/attachment.htm>


More information about the asterisk-users mailing list