On Tue, 2005-01-18 at 08:08 +0000, Tony Mountifield wrote:
> 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?

HMM, don't know, or don't remember. I just copied it out of a working
extensions.conf file and did't remember if we where using that section
either.
-- 
Steven Critchfield <[EMAIL PROTECTED]>

_______________________________________________
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

Reply via email to