[Asterisk-Users] ResponseTimeout, Straight to operator?

Joseph tech at ekn.com
Mon Jul 26 11:19:38 MST 2004


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 =
---------------------=




More information about the asterisk-users mailing list