cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

139
Views
5
Helpful
2
Replies
Highlighted
Frequent Contributor

how to read/Decrypt voice-translation rules ?

Hi Freinds

 

 

how to read/Decrypt the below rules ?

 

voice translation-rule 1
rule 1 /\(^001\)\(.*\)/ /\2/


voice translation-rule 2
rule 1 /^159\(.*\)/ /\1/

rule 2 /^1234/ /81&/

rule 3 /^9222/ /\0/

Thanks

Ibrahim

 

#stayhome,StayConnected,staysafe

Everyone's tags (1)
2 REPLIES 2
Highlighted
Hall of Fame Master

Re: how to read/Decrypt voice-translation rules ?

Translation rules use Regular Expressions, and there are many Regex interpreters online. Cisco has some good docs too, i.e. https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html

In addition IOS has built in "test voice translation-rule".

 

voice translation-rule 1
rule 1 /\(^001\)\(.*\)/ /\2/

This one copies second segment in parenthesis and basically strips 001 when number starts with it (^). Anything in parenthesis is saved as a variable and then when you see "\2" it means use the second variable

 

Highlighted
Frequent Contributor

Re: how to read/Decrypt voice-translation rules ?

thanks chris

CreatePlease to create content
Content for Community-Ad

Cisco COVID-19 Survey