09-11-2012 11:30 AM - edited 03-16-2019 01:08 PM
Hello,
I defined below dial-peer on CME 7.1 to forward any number starting with 9 to PSTN. I want to to strip the 9 prefix and forward remaining 8 digits to PSTN line. But it doesn't strip and forwards all the 9 digits. I configured it in two way:
======
First
======
translation-rule 1
Rule 1 ^92 2
Rule 2 ^93 3
Rule 3 ^94 4
Rule 4 ^95 5
Rule 5 ^96 6
Rule 6 ^97 7
Rule 7 ^98 8
!
dial-peer voice 1 pots
destination-pattern 9[2-8].......
translate-outgoing called 1
port 0/2/0
prefix 9,
!
=======
Second
=======
dial-peer voice 1 pots
destination-pattern 9[2-8].......
port 0/2/0
prefix 9,
forward-digits 8
09-11-2012 12:05 PM
Remove the prefix 9. Also if you would go the path of translation rule you should use voice translation rules, translation rules are deprecated.
Please rate useful posts.
Sent from Cisco Technical Support iPhone App
09-11-2012 02:23 PM
Use method 2, you do not need prefix command nor the forward-digits command as with pots dial-peers only explicitly matched digits are stripped, so in your case only 9 will be automatically stripped and remaining digits sent.
HTH,
Chris
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: