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

Translation rule helpout

Hi anybody !

I have such problem that I need to strip some leading digits (e.g. 99) from called party# for calls into VoIP network at the originating gateway, before the call setup leaves it. I tried to ask on this more people, which told me either they don't know or it's not possible to do it at all. Now some CCIE or VoIP-well-skilled man could help.

I simply tried to use "rule 1 ^99 null", and then intended in VoIP dialpeer to apply the "translate-outgoing called 1" command, but the rule itself cannot be created in rule definition step.

I would much appreciate any help with this!!

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Translation rule helpout

to my understanding this issue can be resolved like:

translation-rule 11

rule 1 991% 1

rule 2 992% 2

rule 3 993% 3

rule 4 994% 4

rule 5 995% 5

rule 6 996% 6

rule 7 997% 7

rule 8 998% 8

rule 9 999% 9

rule 10 990% 0

!

dial-peer voice 11 voip

destination-pattern 99T

translate-outgoing called 11

session-target ipv4:192.168.1.11

!

router#test translation-rule 11 99123456

The replaced number: 123456

router#test translation-rule 11 992134256

The replaced number: 2134256

router#test translation-rule 11 9932145679

The replaced number: 32145679

!

HTH

4 REPLIES
New Member

Re: Translation rule helpout

No need help to me anymore, I obtained a solution other way.

New Member

Re: Translation rule helpout

Hi,

Would you mind share the solution.

I have the same requirements.

SS

New Member

Re: Translation rule helpout

to my understanding this issue can be resolved like:

translation-rule 11

rule 1 991% 1

rule 2 992% 2

rule 3 993% 3

rule 4 994% 4

rule 5 995% 5

rule 6 996% 6

rule 7 997% 7

rule 8 998% 8

rule 9 999% 9

rule 10 990% 0

!

dial-peer voice 11 voip

destination-pattern 99T

translate-outgoing called 11

session-target ipv4:192.168.1.11

!

router#test translation-rule 11 99123456

The replaced number: 123456

router#test translation-rule 11 992134256

The replaced number: 2134256

router#test translation-rule 11 9932145679

The replaced number: 32145679

!

HTH

New Member

Re: Translation rule helpout

Yes guys, this is the right solution! :-)

I wish happy configuring. Bye.

103
Views
0
Helpful
4
Replies
CreatePlease to create content