Specifications
VoiceFinder VoIP Gateway Configuration Guide (APOS 2.0) Release Version 3.1
AddPac Technology Co., LTD
- 158 / 416-
substituted-pattern translates the fixed digit (the digit excluding wildcard) of
input-matched-pattern to a string of substituted-pattern. The substituted-pattern can be
divided by 2 formats.
In first case, substituted-pattern is configured only with IA5 texts (0-9#), the fixed digit part of
input-matched-pattern is translated into the string part of substituted-pattern, the rest of digits,
except the fixed digits of the called (or calling) party number, are to added next to the end.
In next case, substituted-pattern uses ‘%’ to enable configuration of the number by
substituting each digit of the called (or calling) party number to %xx variable.
substituted-pattern is only configured with ‘.’or ‘T’, the called (or calling) -party-number is to
be configured with the digits except the fixed patter of input-matched-pattern.
For an example, if the rules are set as to follow and 00181463701234 is entered to a translation
rule set, then it is translated to 81463701234. If 0313961234 is entered, then it is translated to
82313961234. If 5261234 is entered, it is translated 8225261234.
translation-rule 100
rule 1 001……… .
rule 2 0…….. 82
rule 3 [1-9]…… 822%01%02%03%04%05%06%07%08
The created translation rule can be verified by show translation-rule.
For instance, when show translation-rule 100 is entered, the rules in translation rule set 100
are displayed.
If you want to see the result of the applied translation rule set, just enter the number that you
intend to test. If you want to see the result of the number 100 applied to translation set 100,
just enter show translation-rule 100 1234. The result is 1234.
3.3.7.2. Applying Translation Rule to Inbound POTS Call
To apply the translation rule set to all the incoming calls to a specific voice port, configure as to
follow:
Step Commands Purpose of Usage
1
model name# configure terminal Get into global configuration mode
2
model name(config)# voice-port location Enter the specified voice port
configuration mode
Indicate location by port -number
3
Router(voice-p ort)#
translate-incoming {called-number |
called-number : Apply translation rule to
the inbound called party number