TUTORIAL Vitelity Outbound Prefix with Incredible PBX for Asterisk-GUI

smccloud

Member
Joined
Jun 17, 2013
Messages
131
Reaction score
14
If I want to remove the outbound prefix from my Vitelity trunk I just need to remove the 8 from all 4 dialing rules correct? Or would it be better to create 4 new rules w/0 the 8 in place?
 
In /etc/asterisk/extensions.conf:

Remove the 8 from each line in [CallingRule_OutVitelity] and adjust the ${EXTEN} substring in second and fourth lines so that the code looks like this:
Code:
[CallingRule_OutVitelity]
exten = _NXXNXXXXXX,1,Set(CALLERID(num)=${CID_vitelity})
exten = _NXXNXXXXXX,n,Macro(trunkdial-failover-0.4,${Vitelity}/${EXTEN},,Vitelity,)
exten = _1NXXNXXXXXX,1,Set(CALLERID(num)=${CID_vitelity})
exten = _1NXXNXXXXXX,n,Macro(trunkdial-failover-0.4,${Vitelity}/${EXTEN:1},,Vitelity,)

Comment out all of the [CallingRule_Google Voice] dialplan lines so that they look like this:
Code:
[CallingRule_GoogleVoice]
;exten = _NXXNXXXXXX,1,Gosub(outgoing-sub,outgoing-sub_1,1())
;exten = _NXXNXXXXXX,n,Gosub(macro-dumpvars,s,1())
;exten = _NXXNXXXXXX,n,Macro(trunkdial-failover-0.4,Motif/GoogleVoice/1${EXTEN}@voice.google.com,,GoogleVoice,)
;exten = _NXXNXXXXXX,n,Goto(outbound-allroutes,${EXTEN},1)
;exten = _1NXXNXXXXXX,1,Gosub(outgoing-sub,outgoing-sub_1,1())
;exten = _1NXXNXXXXXX,n,Gosub(macro-dumpvars,s,1())
;exten = _1NXXNXXXXXX,n,Macro(trunkdial-failover-0.4,Motif/GoogleVoice/${EXTEN}@voice.google.com,,GoogleVoice,)
;exten = _1NXXNXXXXXX,n,Goto(outbound-allroutes,${EXTEN:1},1)

Finally, adjust the following two lines in [macro-trunkdial] context:
Code:
exten = _NXXNXXXXXX,1,Macro(trunkdial-failover-0.4,${Vitelity}/${EXTEN},,Vitelity,)
exten = _1NXXNXXXXXX,1,Macro(trunkdial-failover-0.4,${Vitelity}/${EXTEN:1},,Vitelity,)

Then reload the Asterisk dialplan: asterisk-reload
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
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.
Back
Top