[Asterisk-Users] ResponseTimeout, Straight to operator?
Sean Cheesman
scheesman at caeveo.com
Mon Jul 26 11:23:34 MST 2004
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 at lists.digium.com
[mailto:asterisk-users-admin at 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 at 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
More information about the asterisk-users
mailing list