cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
5
Helpful
2
Replies

How to translate voice translation-rule 1

akram.root
Level 4
Level 4

Hi all

can you help me  to explain  this translation ?

 

voice translation-rule 1
rule 1 /^3\(...\)$/ /530103\1/
rule 3 /^1085$/ /530101085/
rule 4 /^4\(...\)$/ /530104\1/

Best regards

2 Replies 2

jonathan.salter
Level 3
Level 3
What do you need help with?
Please remember to rate useful posts, click on the stars below.

will.alvord
Level 5
Level 5

This doc explains translation rules and profiles exhaustively:

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/64020-number-voice-translation-profiles.html

 

If you're not familiar with regular expressions (or at least Cisco's regular expressions), you can test them. From your example:

test voice translation-rule 1 3456
-or-
test voice translation-rule 1 1085
-or-
test voice translation-rule 1 4567

You'll be able to see the input and output of the translation.