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

Chris Bagnall asterisk at lists.minotaur.cc
Wed Feb 22 09:20:19 CST 2012


On 22/2/12 2:50 pm, Zohair Raza wrote:
> Try passing escape character
> GET DATA $filename $timeout $max_digits $escape_character

Not sure I follow - according to the docs, there is no parameter 
$escape_character

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.

Kind regards,

Chris
-- 
This email is made from 100% recycled electrons



More information about the asterisk-users mailing list