RSS: articles

The Cisco Voice Translation Rule

Voice Translation Rules can be difficult at first to understand, to help simplify this here is a little utility you can link to that will enable you to test your translations before setting the rule in-place.
Enter your input number and your translation function to see the output number after conversion.

You must enclose your Match-Pattern and Replace-Pattern in / delimiters, with at least one space between them
i.e. /Match-Pattern/ /Replace-Pattern/

NOTE - you will possibly get errors using Firefox to render this page

Link to Cisco Document

If you think you can`t do without this utility why not download it to your PC/Laptop and use it on-site without the need to connect to the Internet.
Click here
Input Number
Output Number  
Translation Rule
You may add multiple rules
  Example: rule 1 /123/ /456/
Example: /123/ /456/
Voice translation rules sound complicated but really they are not, all you are doing is exchanging one or more numbers for some other numbers.
You give it the numbers to look for, then tell it what to exchange the numbers it found with.

Why: well to save typing, to save having to remember the numbers before you type the real number you want, lets say the that you have a phone provider that will give you cheap phone calls if you direct the number through their service, and they says put 02545 in front of all the numbers you type i.e. 0555 123555 would be 02545 0555 123555.
But getting this information to all the company's employees and making sure they remember to type it in front of the numbers they want is going to be very difficult.
Now let's say that the same phone company says 'if you put 01545 in front of certain area codes we will give you a better rate discount'.
Can you imagine telling all the company's employees now to remember another number, I would not want to try.
This is why you would use 'Voice Translation Rules' and they can get very sophisticated in determining what to look for and what to replace with, leaving the company user none the wiser to what is going on in the background when they dial just the number they want.
Character Description
. Any single digit
0 to 9,*,# Any specific character
[0-9] Any range or sequence of characters
* Modifier-match none or more occurrences
+ Modifier-match one or more occurrences
? Modifier-match none or one occurrence
Combinations Definition
.* Any digit followed by none or more ocurrences. This is effectively anything, including null.
.+ Any digit followed by one or more ocurrences. This is effectively anything, except null.
^$ No digits, null
Character Description
\ In the match pattern, indicates where to slice up the number.
\ In the replacement pattern, indicates where to copy the sets to keep.
() Indicates which sets in the matched number to keep.
Character Usage  
(a\) Keep expression "a".
b\ Ignore expression "b".
\1 Copy the first set into the replacement number.

Created for the UC500  forums by one user for all users, a great place to get the information you need to do the job quick and easy.
Scripted by Softman  27-October-2009 v1.2