cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1161
Views
0
Helpful
1
Replies

Dial Plans / Translation Rules

garrett.bayross
Level 1
Level 1

Having an issue with International Calls not using the right dial-peer/translation:

When i dial 90114484512490

It first strips it to 0114484512 then adds the 9 back...90114484512 and uses the incorrect dial-peer (11) when it is meant to use (12)

What am I doing wrong here?

!
voice translation-rule 2
rule 1 /9905+/ /905/
rule 2 /9416+/ /416/
rule 3 /9647+/ /647/
!
voice translation-rule 4
rule 1 /91+/ /1/
!
voice translation-rule 5
rule 1 /9011+/ /011/
!
voice translation-rule 7
rule 1 /1011/ /16472473297/
!
voice translation-rule 911
rule 1 /777/ /6473385738/
!
voice translation-rule 2473297
rule 1 /16472473297/ /1011/
!
!
voice translation-profile Caller-ID
translate calling 7
!
voice translation-profile Emergency
translate called 911
!
voice translation-profile Incoming
translate called 2473297
!
voice translation-profile International
translate calling 7
translate called 5
!
voice translation-profile Local
translate calling 7
translate called 2
!
voice translation-profile LongDistance
translate calling 7
translate called 4
!

!
dial-peer cor custom
name Main1_10Digit
name Main1_11Digit
!
!
dial-peer cor list Main1-11Digit
member Main1_11Digit
!
dial-peer cor list Main1-Line
member Main1_10Digit
member Main1_11Digit
!
!
dial-peer voice 1 voip
description ## INCOMING - DIDWW - 16472584731 ##
shutdown
session protocol sipv2
session target sip-server
session transport udp
incoming called-number 16472584731
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 2003 pots
description #### INCOMING INTERFACE 0/3/1 ####
shutdown
destination-pattern 16472584731
incoming called-number 16472584731
port 0/3/1
!
dial-peer voice 1000 pots
description #### KITCHEN ####
shutdown
destination-pattern 1000
port 0/3/0
!
dial-peer voice 1003 pots
description #### MASTER BEDROOM ####
shutdown
destination-pattern 1003
port 0/3/1
!
dial-peer voice 10 voip
corlist outgoing Main1-Line
description Main1 11-Digit Outgoing
translation-profile outgoing LongDistance
destination-pattern 91..........
session protocol sipv2
session target dns:sip.voipdiscount.com
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 11 voip
corlist outgoing Main1-Line
translation-profile incoming Incoming
translation-profile outgoing Local
destination-pattern 9[^1]..[2-9]......
session protocol sipv2
session target dns:sip.fongo.com
incoming called-number .
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 12 voip
translation-profile outgoing International
destination-pattern 9011T
session protocol sipv2
session target dns:sip.voipdiscount.com
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 911 voip
translation-profile outgoing Emergency
destination-pattern 777
session protocol sipv2
session target dns:sip.fongo.com
dtmf-relay rtp-nte
codec g711ulaw
no vad
!

Thanks,

Garrett

1 Reply 1

paolo bevilacqua
Hall of Fame
Hall of Fame

Wrong forum, post in "Voice - IP Telephony". You can move your post using the actions panel on the right.