cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
514
Views
5
Helpful
2
Replies

Dial Peer with digit translation

cms1126
Level 1
Level 1

Hi All,

I am we have a Cisco CME system with multiple FXO lines. the 4 main lines are centrix lines from the phone company and require dialing a leading 9 infront of the phone number leaving the router to the CO. This is working currently using the folowing dial peers:

dial-peer voice 10 pots
trunkgroup main
destination-pattern 9[2-9]......
no digit-strip

!

dial-peer voice 20 pots
trunkgroup main
destination-pattern 91[2-9].........
no digit-strip
!
dial-peer voice 30 pots
trunkgroup main
destination-pattern 9[2-9]11
no digit-strip

 

I would like to split 2 of the lines off into a seperate trunk group that is access by dialing 8 but would like to have the 8 translated to a 9 when it leaves the router. After researching it i thought this would work

voice translation-rule 1
 rule 1 /8/ /9/
voice translation-profile MW
 translate calling 1 

 

dial-peer voice 10 pots
trunkgroup main
destination-pattern 8[2-9]......

translation-profile outgoing MW
no digit-strip

!

dial-peer voice 20 pots
trunkgroup main
destination-pattern 81[2-9].........

translation-profile outgoing MW
no digit-strip
!
dial-peer voice 30 pots
trunkgroup main
destination-pattern 8[2-9]11

translation-profile outgoing MW
no digit-strip

 

But no joy. just get a buys tone.

1 Accepted Solution

Accepted Solutions

Shadi Shami
Level 7
Level 7

Hello,

 

Few points to highlight here:

1. traslation-rule: I'd recommend to have like this (rule 1 /^8/ /9/) to translate numbers that are starting with 8 only not to translate every 8 digit.

2. translation-profie: you need to translate the called number not the calling, so change it as below:

voice translation-porifle MW

 translate called 1

 

Thank you,

Shadi

 

View solution in original post

2 Replies 2

Shadi Shami
Level 7
Level 7

Hello,

 

Few points to highlight here:

1. traslation-rule: I'd recommend to have like this (rule 1 /^8/ /9/) to translate numbers that are starting with 8 only not to translate every 8 digit.

2. translation-profie: you need to translate the called number not the calling, so change it as below:

voice translation-porifle MW

 translate called 1

 

Thank you,

Shadi

 

That fixed it thank you!