Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Manipulating the calling number

I am trying to configure a manipulation of the calling number with a translation rule using brackets. Although, it should have been the same way with BGP prefixes, it does not.

Is there any example using brackets?

Let's say we have to do:

translation-rule 5

Rule 1 1.% 991

Rule 2 2.% 992

Rule 3 3.% 993

Rule 4 4.% 994

Rule 5 5.% 995

Rule 6 6.% 996

Rule 7 7.% 997

Rule 8 8.% 998

Rule 9 9.% 999

If you say :

Router#test translation-rule 5 541 un

you get : The replace number 54991

Instead of 99541.

1 REPLY
Anonymous
N/A

Re: Manipulating the calling number

try this:

translation-rule 1

rule 1 ^. 99

The rule you specified wasn't correct, it will check rule 1 for the test pattern

541 and replace digit 1 with 991, so router is doing what the rule tells it to do.

It's using the same logic as regular-expression.

65
Views
0
Helpful
1
Replies
CreatePlease to create content