Professional Documents
Culture Documents
Presentation Goal
At the end of the presentation you should
be able to:
Identify the difference between a translation rule and a
voice translation rule.
Implement, test and troubleshoot the different methods of
digit manipulation outlined in the presentation.
Learning objectives
Automatic Number Identification (ANI) This is the
Calling Number.
Dialed Number Identification Service (DNIS) This is the
Called Number.
Translation Rule A basic method of digit manipulation
based on a matched string.
Voice Translation Rule A more advanced method of digit
manipulation using regular expressions.
Vocabulary
Digit manipulation is used to help manage
our number plans.
Different PSTN providers may provide
different quantities of digits to different
sites. This could lead to overlaps in DN
ranges between sites. So we use the
various methods of digit manipulation to
standardize them.
In this presentation we will only cover IOS
(Voice) translation rules.
Voice-port 3/0:23
Translate called 1
Verification
FLJVFB401R1#test translation-rule 1 77486
The replaced number: 9049877486
Rule 2 /^987\(.+\)/ /464\1/ - matches 987 something and prepends the set (.+) with with 464
Rule 3 /^\(770\)\(.\)/ /678\2/ - matches 770 then prepends 678 to the second set (.)
Rule 4 /\(^\)464\(.\)/ /\1987\2/ - changes the middle of the number from 464 to 987
Rule 5 /\(^.*\)7399/ /\15309/ - matches on the beginning of a number and replaces the end
These are applied as outgoing to the voice translation-profile then that profile is
associated to the SRST config.
test translation-rule 1 77486 - the 1 specifies which translation rule to test against; 77486 is the
the number used to test the rule
The replaced number: 9049877486
Summary
Regular-expression tutorial.
http://www.regular-expressions.info/