10-03-2017 02:55 PM - edited 03-17-2019 11:17 AM
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.
Solved! Go to Solution.
10-03-2017 10:55 PM
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
10-03-2017 10:55 PM
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
10-04-2017 07:26 AM
That fixed it thank you!
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