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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Translation rule

Hi,

Can I translate a calling party number from a number beggining 1 to a full number 2000?

I'm trying do this in a AS5350, but the result doesn't that I'm waiting for...

===

translation-rule 10

Rule 0 ^1 2000

5350#test translation-rule 10 1234

The replaced number: 2000234

====

I did this based on this paper.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvfax_c/vvfpeers.htm#1248770

some idea?

thanks

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: Translation rule

Marcello

what you need to do is use the voice translation rules. There are three steps to apply voice translation rules.

1. Create voice translation rule

2. Create a profile

3. Apply that profile on the matching dial-peer

That translation rule that you need is as follows:

!

voice translation-rule 1

rule 1 /^1.*/ /2000/

!

!

!

voice translation-profile test1

translate calling 1

!

!

Router#test voice translation-rule 1 1234

Matched with rule 1

Original number: 1234 Translated number: 2000

Original number type: none Translated number type: none

Original number plan: none Translated number plan: none

More on voice translation rules is at the following site:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00801c0a88.shtml

I hope that helps.

Javed

2 REPLIES
New Member

Re: Translation rule

when you're testing

5350#test translation-rule 10 1234

instead of the space between 10 1234 , remove the space and try and this should work

New Member

Re: Translation rule

Marcello

what you need to do is use the voice translation rules. There are three steps to apply voice translation rules.

1. Create voice translation rule

2. Create a profile

3. Apply that profile on the matching dial-peer

That translation rule that you need is as follows:

!

voice translation-rule 1

rule 1 /^1.*/ /2000/

!

!

!

voice translation-profile test1

translate calling 1

!

!

Router#test voice translation-rule 1 1234

Matched with rule 1

Original number: 1234 Translated number: 2000

Original number type: none Translated number type: none

Original number plan: none Translated number plan: none

More on voice translation rules is at the following site:

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00801c0a88.shtml

I hope that helps.

Javed

179
Views
0
Helpful
2
Replies