[asterisk-users] Newbie IVR: How to read() before playback() is finished?

Lee, John (Sydney) John.Lee at compuware.com
Wed Mar 19 22:48:03 CDT 2008


I am working on a menu to accept input from a caller like as follows:

Exten => 100,1,Answer()
Exten => 100,n,Playback(LONG-MESSAGE)
Exten => 100,n,Read(OPTION,,2)
...

When I tested it, I noticed if I start pressing a key before the
Playback() is finished, the input is not buffered (simply ignored) and I
have to listen to the whole message before I could re-enter again.

Is there a way that I could press a key and it will be Read() before the
Playback is finished?

It seems like a lot of IVR system in the market can doing that and I am
wondering if I have missed something in Asterisk.

Any thoughts?



More information about the asterisk-users mailing list