[Asterisk-Users] ResponseTimeout, Straight to operator?
John Campbell
johnny at terrascale.net
Mon Jul 26 11:03:16 MST 2004
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!
More information about the asterisk-users
mailing list