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

Paul Hales pdhales at optusnet.com.au
Thu Mar 20 00:12:17 CDT 2008


Use Background instead of Playback, and put an 
exten => XX,n,Goto 
at the bottom of the context.

That should get you started.....

PaulH

	

On Thu, 2008-03-20 at 14:48 +1100, 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




More information about the asterisk-users mailing list