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. And see here for current known issues.

New Member

Voice translation rule or Translation Rule on IOS gw

Hi everybody,

Does anyboby now if it's possible to create a " IOS voice translation rule" or a " IOS translation rule" which allow

- to add "12" at the beginning of a string of any combination of 9 digits but not more

and

- to add "123" at the beginning of a string of any combination of 10 digits but not more

Example :

676767678 --> translated into 12676767678

6767676789 --> translated into 1236767676789

I tried the following rules without success :

translation-rule 21

rule 1 ^......... 12

rule 2 ^..........123

This translation rule doesn't add 123 for a string of more than 9 digits but only 12

Test translation-rule 21 654456654 <-- 9 digits

--> result 12654456654

Test translation-rule 21 6544566545 <-- 10 digits

--> result 126544566545

Any help will be greatly welcome.

Irene

3 REPLIES
Silver

Re: Voice translation rule or Translation Rule on IOS gw

Irene,

You will have to make a voice translation rule as follows :

voice translation-rule 21

rule 1 /^.........$/ /12&/

rule 2 /^..........$/ /123&/

This voice translation rule will do what you like. THe dollar symbol indicates the termination of a string.

Taimoor

New Member

Re: Voice translation rule or Translation Rule on IOS gw

Taimoor,

Do you have a good resource that you could share for complex translation patterns? I am looking specifically at the differenct special characters and their definitions.

New Member

Re: Voice translation rule or Translation Rule on IOS gw

Hi

This is the translation rule I found for my needs :

voice translation-rule 1

rule 1 /\(^.........$\)/ /12\1/

rule 2 /\(^..........$\)/ /123\1/

Note : thanks for yours that is a little different

an hard to find URL concerning "voice translation-rule"

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t11/ftgwrepg.pdf

Hope this help

Irene

219
Views
5
Helpful
3
Replies
CreatePlease login to create content