Damon Estep
2004-Nov-06 13:03 UTC
[Asterisk-Users] * does not listen to DTMF during wait ?
My incoming auto attendant plays a prompt, waits for 5 seconds, and the plays the prompt again giving the user a chance to respond. The exten => s,2,Wait,5 prevents users from being able to make a selection during the wait interval. DTMF is only processed during the background prompt playback interval. Is this by design? Is there another way to do the same thing? Damon
Tim Jackson
2004-Nov-06 13:19 UTC
[Asterisk-Users] * does not listen to DTMF during wait ?
Instead of Wait use Background and play silence: exten => s,3,Background(custom/menu) exten => s,4,Background(loligo/silence/10) -Tim On Sat, 2004-11-06 at 13:03 -0700, Damon Estep wrote:> My incoming auto attendant plays a prompt, waits for 5 seconds, and the > plays the prompt again giving the user a chance to respond. > > The exten => s,2,Wait,5 prevents users from being able to make a > selection during the wait interval. DTMF is only processed during the > background prompt playback interval. > > Is this by design? Is there another way to do the same thing? > > Damon > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Damon Estep
2004-Nov-06 13:29 UTC
[Asterisk-Users] * does not listen to DTMF during wait ?
> Instead of Wait use Background and play silence: > > exten => s,3,Background(custom/menu) > exten => s,4,Background(loligo/silence/10) > > -Tim >Thanks, I also tried RepsonseTimeout but then you can only have one timeout event (ie hangup). Sure would be nice to specify progressive timeout, like on first timeout goto, on second timeout hangup. I assume loligo/silence/10 is an empty gsm file that I have not installed... Damon
Steven Critchfield
2004-Nov-06 13:41 UTC
[Asterisk-Users] * does not listen to DTMF during wait ?
On Sat, 2004-11-06 at 13:29 -0700, Damon Estep wrote:> > Instead of Wait use Background and play silence: > > > > exten => s,3,Background(custom/menu) > > exten => s,4,Background(loligo/silence/10) > > > > -Tim > > > > Thanks, > > I also tried RepsonseTimeout but then you can only have one timeout > event (ie hangup). Sure would be nice to specify progressive timeout, > like on first timeout goto, on second timeout hangup. > I assume loligo/silence/10 is an empty gsm file that I have not > installed...Playing silence is a weak way to go. It works, but is weak. There is an option to be progressive in timeout. Timeout goes to the t extension.>From there you are free to write to a variable and do a GotoIf thatevaluates the variable you wrote to. -- Steven Critchfield <critch@basesys.com>
Eric Wieling
2004-Nov-06 14:04 UTC
[Asterisk-Users] * does not listen to DTMF during wait ?
Damon Estep wrote: > I also tried RepsonseTimeout but then you can only have one timeout> event (ie hangup). Sure would be nice to specify progressive timeout, > like on first timeout goto, on second timeout hangup. > I assume loligo/silence/10 is an empty gsm file that I have not > installed...[auto-attendent] ; ; Auto Attendent ; exten => s,1,SetVar(SAVED_CONTEXT=incoming) exten => s,2,SetVar(COUNT=1) exten => s,3,Answer exten => s,4,DigitTimeout(5) exten => s,5,ResponseTimeout(7) exten => s,6,Wait(.5) exten => s,7,Background(if-u-know-ext-dial) exten => t,1,GotoIf($[${COUNT} = 3]?exit,1) exten => t,2,SetVar(COUNT=$[${COUNT} + 1]) exten => t,3,Goto(s,7) exten => i,1,GotoIf($[${COUNT} = 3]?exit,1) exten => i,2,SetVar(COUNT=$[${COUNT} + 1]) exten => i,3,Playback(extension) exten => i,4,SayDigits(${INVALID_EXTEN}) exten => i,5,Wait(.5) exten => i,6,Playback(pbx-invalid) exten => i,7,Goto(s,6) exten => exit,1,Playback(goodbye) exten => exit,2,Wait(3) exten => exit,3,Hangup include => extensions
Gary White (Network Administrator)
2004-Nov-07 10:06 UTC
[Asterisk-Users] * does not listen to DTMF during wait ?
What about AbsoluteTimeout(seconds) T (capital T): Timeout on AbsoluteTimeout exten => s,n,AbsoluteTimeout(15) exten => T,1,Playback(goodbye)> Damon Estep wrote: > > I also tried RepsonseTimeout but then you can only have one timeout > >> event (ie hangup). Sure would be nice to specify progressive timeout, >> like on first timeout goto, on second timeout hangup. >> I assume loligo/silence/10 is an empty gsm file that I have not >> installed... > > > [auto-attendent] > ; > ; Auto Attendent > ; > exten => s,1,SetVar(SAVED_CONTEXT=incoming) > exten => s,2,SetVar(COUNT=1) > exten => s,3,Answer > exten => s,4,DigitTimeout(5) > exten => s,5,ResponseTimeout(7) > exten => s,6,Wait(.5) > exten => s,7,Background(if-u-know-ext-dial) > > exten => t,1,GotoIf($[${COUNT} = 3]?exit,1) > exten => t,2,SetVar(COUNT=$[${COUNT} + 1]) > exten => t,3,Goto(s,7) > > > exten => i,1,GotoIf($[${COUNT} = 3]?exit,1) > exten => i,2,SetVar(COUNT=$[${COUNT} + 1]) > exten => i,3,Playback(extension) > exten => i,4,SayDigits(${INVALID_EXTEN}) > exten => i,5,Wait(.5) > exten => i,6,Playback(pbx-invalid) > exten => i,7,Goto(s,6) > > > exten => exit,1,Playback(goodbye) > exten => exit,2,Wait(3) > exten => exit,3,Hangup > > > include => extensions > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-- Gary White admin@netpathway.com Network Administrator Internet Pathway 105 D East Church Street Voice: 601-776-3355 P. O. Box 777 Fax: 601-776-2314 Quitman, MS 39355 Registered Linux User Number 198875 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3182 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20041107/3490f001/smime.bin