Erik Anderson
2007-Jan-09 14:55 UTC
[asterisk-users] Asterisk 1.2.11 - ResponseTimeout being ignored
All - this is probably a simple problem, but I've been pulling my hair out trying to figure out what I'm doing wrong. I'm building a *simple* IVR menu. Here it is: [main-menu] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout(5) exten => s,4,ResponseTimeout(30) exten => s,5,Background(logic-main) exten => _4XX,1,Macro(stdexten,SIP/${EXTEN}) exten => 0,1,VoiceMail(466@default) exten => 2,1,Directory(default|logic-boston] exten => 2,2,Goto(main-menu,s,5) exten => 3,1,Playback(logic-directions) exten => 3,2,Goto(main-menu,s,5) exten => t,1,GoTo(main-menu,s,5) Everything is working fine except the ResponseTimeout(). My understanding is that, as configured above, asterisk will wait for 30 seconds...if, after that amount of time, it hasn't received valid digits, it'll jump to the "t" extension. That's not happening. Immediately after the Background() sound file completes, I get this: -- Playing 'logic-main' (language 'en') == Auto fallthrough, channel 'SIP/445-0815e1d0' status is 'UNKNOWN' Any ideas? This seemed like it should be simple, but it's getting the best of me. Thanks- Erik -- Erik Anderson http://andersonfam.org
Doug Crompton
2007-Jan-09 15:46 UTC
[asterisk-users] Asterisk 1.2.11 - ResponseTimeout being ignored
You need a 'waitexten()' after the background command. On Tue, 9 Jan 2007, Erik Anderson wrote:> All - this is probably a simple problem, but I've been pulling my hair > out trying to figure out what I'm doing wrong. I'm building a > *simple* IVR menu. Here it is: > > [main-menu] > exten => s,1,Answer > exten => s,2,SetMusicOnHold(default) > exten => s,3,DigitTimeout(5) > exten => s,4,ResponseTimeout(30) > exten => s,5,Background(logic-main) > exten => _4XX,1,Macro(stdexten,SIP/${EXTEN}) > exten => 0,1,VoiceMail(466@default) > exten => 2,1,Directory(default|logic-boston] > exten => 2,2,Goto(main-menu,s,5) > exten => 3,1,Playback(logic-directions) > exten => 3,2,Goto(main-menu,s,5) > exten => t,1,GoTo(main-menu,s,5) > > Everything is working fine except the ResponseTimeout(). My > understanding is that, as configured above, asterisk will wait for 30 > seconds...if, after that amount of time, it hasn't received valid > digits, it'll jump to the "t" extension. That's not happening. > Immediately after the Background() sound file completes, I get this: > > -- Playing 'logic-main' (language 'en') > == Auto fallthrough, channel 'SIP/445-0815e1d0' status is 'UNKNOWN' > > Any ideas? This seemed like it should be simple, but it's getting the > best of me. > > Thanks- > Erik > > -- > Erik Anderson > http://andersonfam.org > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >"Those that sacrifice essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Ben Franklin (1759) **************************** * Doug Crompton * * Richboro, PA 18954 * * 215-431-6307 * * * * doug@crompton.com * * http://www.crompton.com * ****************************