Upgrade 3CX to v18 and get it hosted free!

Force VoicePulse or BroadVoice outbound if user selects CO3 or CO4

Author image

 

Pana user selects CO3 on handset

 

  • From zapata.conf

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

  • From extensions.conf

[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

 

  • From zapata.conf

; 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

  • From extensions.conf

[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)
;
;

 


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.