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

Steve Edwards asterisk.org at sedwards.com
Wed Feb 22 15:34:30 CST 2012


On Wed, 22 Feb 2012, Danny Nicholas wrote:

> So, in my opinion, you would be better off using the dialplan and two 
> agi's if you need DTMF input between.

I've written complete 'applications*' as single AGIs so the combination of 
STREAM FILE and WAIT FOR DIGIT works reliably for me.

*) voicemail, chat services, credit card processing, listen to stories, 
blah, blah, blah.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list