I’ve done AGI scripting before, but in the past I’ve always wanted
control to be returned to the dialplan as soon as possible.
However, today I have a scenario where I want the script to remain
running during the playback of a file so that I can read DTMF at the end
of playback. However, doing this:
GET DATA en_welcome 5000 6
Results (correctly) in the following in the asterisk console: