John Campbell
2004-Jul-26 11:03 UTC
[Asterisk-Users] ResponseTimeout, Straight to operator?
Hi, My client wants incoming callers who do not press a digit to go straight to the operator. Does anyone have an idea of how this could be done? I've looked for some examples, but I'm still not clear on it. Here's the relevant portion of my extensions.conf: ------- ; Wait 15 seconds for an answer (pick up the local phone) exten => s,1,Wait,2 ; Answer the phone exten => s,2,Answer ; Playback generic voice mail message exten => s,3,Background(ts_welcome_en) ; They must respond within 10 seconds ; else jump to priority t (terminate call) exten => s,4,DigitTimeout,3 exten => s,5,ResponseTimeout,10 ;Sales Voicemail ;exten => 1,1,Dial(SIP/2001,15) exten => 1,1,Dial(Zap/3,20) exten => 1,2,Playback,vm/7000/unavail exten => 1,3,Voicemail,7000 exten => 1,4,Goto,t|1 ;Support Voicemail exten => 2,1,Dial(Zap/3,20) exten => 2,2,Playback,vm/7000/unavail exten => 2,3,Voicemail,7000 exten => 2,4,Goto,t|1 ;Reception Voicemail exten => 0,1,Dial(Zap/3,20) exten => 0,2,Playback,vm/7000/unavail exten => 0,3,Voicemail,7000 exten => 0,4,Goto,t|1 ; t - terminate call exten => t,1,Playback,vm-goodbye exten => t,2,Hangup ------ Thanks!
On Mon, 2004-07-26 at 14:03, John Campbell wrote:> My client wants incoming callers who do not press a digit to go straight > to the operator. Does anyone have an idea of how this could be done? > I've looked for some examples, but I'm still not clear on it. > > Here's the relevant portion of my extensions.conf: > ------- > ; Wait 15 seconds for an answer (pick up the local phone) > exten => s,1,Wait,2 > > ; Answer the phone > exten => s,2,Answer > > ; Playback generic voice mail message > exten => s,3,Background(ts_welcome_en) > > ; They must respond within 10 seconds > ; else jump to priority t (terminate call) > exten => s,4,DigitTimeout,3 > exten => s,5,ResponseTimeout,10 > > ;Sales Voicemail > ;exten => 1,1,Dial(SIP/2001,15) > exten => 1,1,Dial(Zap/3,20) > exten => 1,2,Playback,vm/7000/unavail > exten => 1,3,Voicemail,7000 > exten => 1,4,Goto,t|1 > > ;Support Voicemail > exten => 2,1,Dial(Zap/3,20) > exten => 2,2,Playback,vm/7000/unavail > exten => 2,3,Voicemail,7000 > exten => 2,4,Goto,t|1 > > ;Reception Voicemail > exten => 0,1,Dial(Zap/3,20) > exten => 0,2,Playback,vm/7000/unavail > exten => 0,3,Voicemail,7000 > exten => 0,4,Goto,t|1 > > ; t - terminate call > exten => t,1,Playback,vm-goodbye > exten => t,2,Hangup; t - timeout exten => t,1,Dial(Zap/3/operator-ext) -- respectfully, Joseph ---------------------=
Todd Lieberman
2004-Jul-26 11:20 UTC
[Asterisk-Users] ResponseTimeout, Straight to operator?
Try This... exten => s,1,Wait,2 exten => s,2,Answer exten => s,3,DigitTimeout,3 exten => s,4,ResponseTimeout,10 exten => s,5,Background(ts_welcome_en) exten => s,6,Dial(Zap/3,20) Hi, My client wants incoming callers who do not press a digit to go straight to the operator. Does anyone have an idea of how this could be done? I've looked for some examples, but I'm still not clear on it. Here's the relevant portion of my extensions.conf:
Sean Cheesman
2004-Jul-26 11:23 UTC
[Asterisk-Users] ResponseTimeout, Straight to operator?
Check your config file. the 't' doesn't stand for terminate. It stands for timeout.... http://www.voip-info.org/wiki-Asterisk+t+extension Try adding your operator to the 't' extension instead of hanging up on them. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of John Campbell Sent: Monday, July 26, 2004 1:03 PM To: Asterisk-Users Subject: [Asterisk-Users] ResponseTimeout, Straight to operator? Hi, My client wants incoming callers who do not press a digit to go straight to the operator. Does anyone have an idea of how this could be done? I've looked for some examples, but I'm still not clear on it. Here's the relevant portion of my extensions.conf: ------- ; Wait 15 seconds for an answer (pick up the local phone) exten => s,1,Wait,2 ; Answer the phone exten => s,2,Answer ; Playback generic voice mail message exten => s,3,Background(ts_welcome_en) ; They must respond within 10 seconds ; else jump to priority t (terminate call) exten => s,4,DigitTimeout,3 exten => s,5,ResponseTimeout,10 ;Sales Voicemail ;exten => 1,1,Dial(SIP/2001,15) exten => 1,1,Dial(Zap/3,20) exten => 1,2,Playback,vm/7000/unavail exten => 1,3,Voicemail,7000 exten => 1,4,Goto,t|1 ;Support Voicemail exten => 2,1,Dial(Zap/3,20) exten => 2,2,Playback,vm/7000/unavail exten => 2,3,Voicemail,7000 exten => 2,4,Goto,t|1 ;Reception Voicemail exten => 0,1,Dial(Zap/3,20) exten => 0,2,Playback,vm/7000/unavail exten => 0,3,Voicemail,7000 exten => 0,4,Goto,t|1 ; t - terminate call exten => t,1,Playback,vm-goodbye exten => t,2,Hangup ------ Thanks! _______________________________________________ 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