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

Mojo with Horan & Company, LLC mojo at horanappraisals.com
Mon Mar 24 14:12:48 CDT 2008


Lee, John (Sydney) wrote:
> 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?
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   
Besides the Background() app mentioned, you might like the WaitExten() app

Moj



More information about the asterisk-users mailing list