Force VoicePulse or BroadVoice outbound if user selects CO3 ...
Pana user selects CO3 on handset
; provide dial tone to Panasonic CO3 ; immediate=no usecallerid=no usedistinctiveringdetection=no signalling=fxo_ks group=1 ; context=co3out channel=1 ; ring this one for VoicePulse ;
[co3out] ; ; this is where a Panasonic analogextension enters ; the dial plan if they pick up CO3 (VoicePulse) ; exten => s,1,DigitTimeout,5 ; give them 5 seconds between digits exten => s,2,ResponseTimeout,90 ; give them 90 seconds to make a choice ; ; If the user presses 0, give them access to the ; system menu ; exten => 0,1,Background(custom/vp-line3) exten => 0,2,Goto(system-menu-main,s,1) ; ; Keep them from dialing PSTN service numbers as ; VoicePulse will not route them properly anyway ; exten => _411,1,Goto(i,1) exten => _611,1,Goto(i,1) exten => _911,1,Goto(i,1) ; include => sip-ext include => internal-svc include => restricted ; ; handle outbound local calls - force VoicePulse ; exten => _NXXNXXXXXX,1,Macro(dial-iax,1${EXTEN},${LONGTIMEOUT}) ; ; handle outbound long distance calls - force VoicePulse ; exten => _1NXXNXXXXXX,1,Macro(dial-iax,${EXTEN},${LONGTIMEOUT}) ; ; handle outbound internationl calls - force VoicePulse ; exten => _011.,1,Macro(dial-iax,${EXTEN},${LONGTIMEOUT}) ; ; exten => t,1,Goto(i,1) ; If they take too long, let them try again ; exten => i,1,Background(invalid) ; "That's not valid, try again" exten => i,2,Wait(1) exten => i,3,Goto(s,1) ; ; Pana user selects CO4 on handset
; provide dial tone to Panasonic CO4 ; immediate=no usecallerid=no usedistinctiveringdetection=no signalling=fxo_ks group=1 ; context=co4out channel=2 ; ring this one for BroadVoice
[co4out] ; ; this is where a Panasonic analogextension enters ; the dial plan if they pick up CO4 (BroadVoice) ; exten => s,1,DigitTimeout,15 ; give them 15 seconds between digits exten => s,2,ResponseTimeout,90 ; give them 90 seconds to make a choice ; ; If the user presses 0, give them access to the ; system menu ; exten => 0,1,Background(custom/bv-line4) exten => 0,2,Goto(system-menu-main,s,1) ; ; Keep them from dialing PSTN service numbers as ; VoicePulse will not route them properly anyway ; exten => _411,1,Goto(i,1) exten => _611,1,Goto(i,1) exten => _911,1,Goto(i,1) ; include => sip-ext include => internal-svc include => restricted ; ; handle outbound local calls - force BroadVoice ; exten => _NXXNXXXXXX,1,Macro(dial-sip,${EXTEN},${LONGTIMEOUT}) ; ; handle outbound long distance calls - force BroadVoice ; exten => _1NXXNXXXXXX,1,Macro(dial-sip,${EXTEN},${LONGTIMEOUT}) ; ; handle outbound internationl calls - force BroadVoice ; exten => _011.,1,Macro(dial-sip,${EXTEN},${LONGTIMEOUT}) ; exten => t,1,Goto(i,1) ; If they take too long, let them try again ; exten => i,1,Background(invalid) ; "That's not valid, try again" exten => i,2,Wait(1) exten => i,3,Goto(s,1) ; ; |
手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )
GMT-8, 2026-10-13 08:39 , Processed in 0.007057 second(s), 18 queries .
Supported by BestDeal Online X5.0
© 2001-2026 Discuz! Team.