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

Gary gchen00 at insightbb.com
Thu Mar 20 07:39:13 CDT 2008


----- Original Message ----- 
From: "Lee, John (Sydney)" <John.Lee at compuware.com>
To: <asterisk-users at lists.digium.com>
Sent: Wednesday, March 19, 2008 11:48 PM
Subject: [asterisk-users] Newbie IVR: How to read() before playback() 
isfinished?


>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?
>

Use Read( ) app to play your LONG-MESSAGE 



More information about the asterisk-users mailing list