In article <[EMAIL PROTECTED]>, Steven Critchfield <[EMAIL PROTECTED]> wrote: > On Tue, 2005-01-18 at 10:44 +1100, Howard Lowndes wrote: > > Will Wait(n) still listen for DTMF input from the caller after there has > > been a Background(some-message) prompt, or do I need to use > > Background(silence/n) to still listen for DTMF? > > You don't need anything but a proper gap. You need to program the > extensions like you do with a event loop. > > exten => s,1,Wait,0 > exten => s,2,Answer > exten => s,3,DigitTimeout,5 > exten => s,4,ResponseTimeout,10 > exten => s,5,BackGround,demo-congrats > > ; This is a blank area that just waits to get DTMF for up to 10 > ; seconds due to the ResponseTimeout > > exten => t,1,Goto(somewhere-due-to-timeout)
What's the reason for having a zero-length Wait befor the Answer? Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
