Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [robinson-family]
- ; If nobody picks up within 30 seconds, the call is sent to voicemail
- ; If the extension is busy, the call is sent to voicemail
- exten => _20[0-3],1,Set(TARGETNO=${EXTEN})
- exten => _20[0-3],n,Dial(SIP/${EXTEN},30)
- exten => _20[0-3],n,Goto(s-${DIALSTATUS},1) ; routes the call to the st
- atus priority (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)
- exten => s-NOANSWER,1,VoiceMail(${TARGETNO},u) ; Person at extension "is
- unavailable" message
- exten => s-BUSY,1,VoiceMail(${TARGETNO},b) ; Person at extension "is
- busy" message
- exten => s-ANSWER,1,Hangup() ; To be safe, clean up the
- call after an answer by hanging up
- exten => _s-.,1,Goto(s-NOANSWER,1) ; Handle any unhandled stat
- us the same way we handle NOANSWER
- ; Check your voicemail from your own extension by dialling "250"
- exten => 250,1,VoiceMailMain(${CALLERID(num)})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement