cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
622
Views
0
Helpful
2
Replies

Strip Digits

Ali Norouzi
Level 1
Level 1

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

2 Replies 2

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



Response Signature


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