12-26-2013 10:19 AM - edited 03-16-2019 09:00 PM
Hi Folks,
I have a site who is in Rio, Brazil whos cell phones has been changed from 8 digit to 9 digit. In order for me to comply I need to update the dial peer/plan for CME 8.6 . Anyone who can give advice or instructions is appreciated.
e.g
Example: +551521 9691-XXXX changed to +551521 9 9691-XXXX
Thanks
12-26-2013 10:51 AM
Send across your cme router config.
Sent from Cisco Technical Support iPhone App
12-26-2013 11:19 AM
here you go..
voice class custom-cptone BR-Anatel
dualtone ringback
cadence 1000 4000 1000 4000
dualtone disconnect
frequency 425
cadence 250 250 250 250
!
!
!
!
voice translation-rule 1
rule 1 /^00[1-9][1-9]\(.*\)$/ /015\1/
rule 2 /^000[1-9][1-9]\(.*\)$/ /0015\1/
rule 3 /^090[1-9][1-9]\(..........\)$/ /9015\1/
!
!
voice translation-profile ChangeCSP
translate called 1
!
!
license udi pid CISCO2921/K9 sn XXXXXXX
hw-module pvdm 0/0
!
!
!
username admin privilege 15 secret 4 xxx.x.x..x.x.x.xx.x.x
username liderit privilege 15 secret 4 xxx.x.x..x.x.x.xx.x.x
!
redundancy
!
!
controller E1 0/0/0
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-21 type r2-digital r2-compelled ani
cas-custom 0
country brazil
metering
debounce-time 10
answer-signal group-b 1
trunk-group Vivo-E1
!
controller E1 0/0/1
!
ip ssh time-out 60
ip ssh authentication-retries 2
ip ssh version 2
!
translation-rule 1
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
ip address xx.xxx.x.xxx 255.255.xxx.xxx
duplex auto
speed auto
!
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 xx.xxx.x.xxx
!
!
!
snmp-server community sparky RO
snmp-server community abc123
snmp-server location Brazil
tacacs-server host xx.xx.x.xxx timeout 5
tacacs-server directed-request
tacacs-server key 7 xxxxxxxx
!
!
!
control-plane
!
!
voice-port 0/0/0:0
translation-profile outgoing ChangeCSP
disc_pi_off
cptone BR
timeouts interdigit 5
timeouts call-disconnect 0
bearer-cap Speech
!
voice-port 0/1/0
trunk-group Vivo-Analog
translation-profile outgoing ChangeCSP
disc_pi_off
cptone BR
timeouts interdigit 5
timeouts call-disconnect 0
connection plar 6500
description ### Vivo +55 11 3078-9782 ###
bearer-cap Speech
!
voice-port 0/1/1
trunk-group Vivo-Analog
translation-profile outgoing ChangeCSP
disc_pi_off
cptone BR
timeouts interdigit 5
timeouts call-disconnect 0
connection plar 6500
description ### Vivo +55 11 3078-9728 ###
bearer-cap Speech
!
voice-port 0/1/2
trunk-group Vivo-Analog
translation-profile outgoing ChangeCSP
disc_pi_off
cptone BR
timeouts interdigit 5
timeouts call-disconnect 0
connection plar 6500
description ### Vivo +55 11 3078-9735 ###
bearer-cap Speech
!
voice-port 0/1/3
disc_pi_off
cptone BR
timeouts interdigit 5
timeouts call-disconnect 0
connection plar 6500
shutdown
description ### Intercom ###
bearer-cap Speech
!
!
!
mgcp profile default
!
!
dial-peer voice 1 pots
trunkgroup Vivo-E1
description ### PSTN inbound ###
incoming called-number .T
direct-inward-dial
!
dial-peer voice 2 pots
trunkgroup Vivo-E1
description ### Local Calls - Fixed ###
destination-pattern 0[2-5].......
!
dial-peer voice 3 pots
trunkgroup Vivo-E1
description ### Local Calls - Mobile ###
destination-pattern 0[6-8].......
!
dial-peer voice 4 pots
trunkgroup Vivo-E1
description ### Local Calls - Mobile ###
destination-pattern 09T
forward-digits 9
!
dial-peer voice 5 pots
trunkgroup Vivo-E1
description ### Long Distance Calls - Fixed ###
destination-pattern 00[1-9][1-9]..[2-6].......
forward-digits 13
!
dial-peer voice 6 pots
trunkgroup Vivo-E1
description ### Long Distance Calls - Mobile ###
destination-pattern 00[1-9][1-9]..[7-9].......
forward-digits 13
!
dial-peer voice 7 pots
trunkgroup Vivo-E1
description ### International Calls ###
destination-pattern 000T
prefix 00
!
dial-peer voice 8 pots
trunkgroup Vivo-E1
description ### Toll Free Calls ###
destination-pattern 00800T
prefix 0800
!
dial-peer voice 9 pots
trunkgroup Vivo-E1
description ### 0300 Calls ###
destination-pattern 00300T
prefix 0300
!
dial-peer voice 10 pots
trunkgroup Vivo-E1
description ### 0303 Calls ###
destination-pattern 00303T
prefix 0303
!
dial-peer voice 11 pots
trunkgroup Vivo-E1
description ### Emergency Calls ###
destination-pattern 019.
forward-digits 3
!
dial-peer voice 12 pots
trunkgroup Vivo-E1
description ### Service Numbers Calls ###
destination-pattern 01[0-8]T
prefix 1
!
dial-peer voice 13 pots
trunkgroup Vivo-E1
description ### Local Calls - Collect Calls Fixed ###
destination-pattern 09090[2-5].......
prefix 9090
!
dial-peer voice 14 pots
trunkgroup Vivo-E1
description ### Local Calls - Collect Calls Mobile ###
destination-pattern 09090[6-8].......
prefix 9090
!
dial-peer voice 15 pots
trunkgroup Vivo-E1
description ### Local Calls - Collect Calls Mobile ###
destination-pattern 090909T
prefix 90909
!
dial-peer voice 16 pots
trunkgroup Vivo-E1
description ### Long Distance Calls - Collect Calls ###
destination-pattern 090[1-9][1-9]..[1-9].......
forward-digits 14
!
dial-peer voice 22 pots
trunkgroup Vivo-Analog
description ### Local Calls - Fixed ###
preference 1
destination-pattern 0[2-5].......
!
dial-peer voice 23 pots
trunkgroup Vivo-Analog
description ### Local Calls - Mobile ###
preference 1
destination-pattern 0[6-8].......
!
dial-peer voice 24 pots
trunkgroup Vivo-Analog
description ### Local Calls - Mobile ###
preference 1
destination-pattern 09T
forward-digits 9
!
dial-peer voice 25 pots
trunkgroup Vivo-Analog
description ### Long Distance Calls - Fixed ###
preference 1
destination-pattern 00[1-9][1-9]..[2-6].......
forward-digits 13
!
dial-peer voice 26 pots
trunkgroup Vivo-Analog
description ### Long Distance Calls - Mobile ###
preference 1
destination-pattern 00[1-9][1-9]..[7-9].......
forward-digits 13
!
dial-peer voice 27 pots
trunkgroup Vivo-Analog
description ### International Calls ###
preference 1
destination-pattern 000T
prefix 00
!
dial-peer voice 28 pots
trunkgroup Vivo-Analog
description ### Toll Free Calls ###
preference 1
destination-pattern 00800T
prefix 0800
!
dial-peer voice 29 pots
trunkgroup Vivo-Analog
description ### 0300 Calls ###
preference 1
destination-pattern 00300T
prefix 0300
!
dial-peer voice 30 pots
trunkgroup Vivo-Analog
description ### 0303 Calls ###
preference 1
destination-pattern 00303T
prefix 0303
!
dial-peer voice 31 pots
trunkgroup Vivo-Analog
description ### Emergency Calls ###
preference 1
destination-pattern 019.
forward-digits 3
!
dial-peer voice 32 pots
trunkgroup Vivo-Analog
description ### Service Numbers Calls ###
preference 1
destination-pattern 01[0-8]T
prefix 1
!
dial-peer voice 33 pots
trunkgroup Vivo-Analog
description ### Local Calls - Collect Calls Fixed ###
preference 1
destination-pattern 09090[2-5].......
prefix 9090
!
dial-peer voice 34 pots
trunkgroup Vivo-Analog
description ### Local Calls - Collect Calls Mobile ###
preference 1
destination-pattern 09090[6-8].......
prefix 9090
!
dial-peer voice 35 pots
trunkgroup Vivo-Analog
description ### Local Calls - Collect Calls Mobile ###
preference 1
destination-pattern 090909T
prefix 90909
!
dial-peer voice 36 pots
trunkgroup Vivo-Analog
description ### Long Distance Calls - Collect Calls ###
preference 1
destination-pattern 090[1-9][1-9]..[1-9].......
forward-digits 14
!
dial-peer voice 99 pots
destination-pattern 9
port 0/1/3
forward-digits all
!
12-27-2013 12:12 AM
They have added only "9" on the left most mobile subscriber number only but for few cities.
"Mobile phone numbers in the following cities/states have an extra digit (9) after the area code:
Sau Paulo (city and state) with area codes 11, 12, 13, 14, 15, 16, 17, 18, 19
Rio de Janeiro (city and state) with area codes 21, 22, 24
Espirito Santo (state) with area codes 27 and 28"
As your site is in Rio then you need to change your local dialing mobile number.
dial-peer voice 3 pots
trunkgroup Vivo-E1
description ### Local Calls - Mobile ###
destination-pattern 09[6-8].......
Now for other cites/state where "9" has been added, you need to create a new dial-peer .
dial-peer voice X pots
trunkgroup Vivo-E1
description ### Long Distance Calls - 9 digit Mobile ###
destination-pattern 00[1-9][1-9]..9[7-9].......
forward-digits 14
And same configuration goes for trunkgroup Vivo-Analog
dial-peer voice 23 pots
trunkgroup Vivo-Analog
description ### Local Calls - Mobile ###
preference 1
destination-pattern 09[6-8].......
dial-peer voice X pots
trunkgroup Vivo-Analog
description ### Long Distance Calls - 9 digit Mobile ###
preference 1
destination-pattern 00[1-9][1-9]..9[7-9].......
forward-digits 14
Thanks
Manish
If this help please rate.
12-27-2013 07:30 AM
thanks Manish, ill let you know.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide