[asterisk] Add direct mailbox dialing
This commit is contained in:
parent
500b6b8e80
commit
72439d13f5
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ exten => _*XXX,1,Answer()
|
||||||
same = n,VoiceMailMain(${EXTEN:1}@sailmaker)
|
same = n,VoiceMailMain(${EXTEN:1}@sailmaker)
|
||||||
same = n,Hangup()
|
same = n,Hangup()
|
||||||
|
|
||||||
|
; 3-digit extensions plus star go directly to voicemail
|
||||||
|
exten => _XXX*,1,Answer()
|
||||||
|
same = n,Wait(1)
|
||||||
|
same = n,Voicemail(${EXTEN:0:-1}@sailmaker,u)
|
||||||
|
same = n,Hangup()
|
||||||
|
|
||||||
; 7+ digit calls are routed outside via the PSTN
|
; 7+ digit calls are routed outside via the PSTN
|
||||||
exten => _NXXXXXX.,1,Dial(PJSIP/pstn/${EXTEN})
|
exten => _NXXXXXX.,1,Dial(PJSIP/pstn/${EXTEN})
|
||||||
same = n,Hangup()
|
same = n,Hangup()
|
||||||
|
|
Loading…
Reference in a new issue