User`s guide
VoiceFinder AP200 VoIP Residential Gateway (RGW) User’s Guide Version 1.1
AddPac Technology Co.,Ltd. -
168 -
5.3.7. Configuration Number Translation
5.3.7.1. Creating Translation Rules
Users can translate called/calling party number of the inbound/outbound calls
in the AP200 Gateway. When translating called/calling party number of the
inbound call, received called/calling party numbers are translated by the
translation rule and used to select the outbound dial peer. When translating
called/calling party numbers of the outbound call, called/calling party
numbers that are used for originating a call are translated by the translation
rule and calls are processed.
When changing private numbers into public numbers or vice versa or when
extending numbers, number translation is used. Number translation provides
more various conversions than number expansion. To translate numbers, a
translation rule set shall be created first. Use “translation-rule” command on
the global configuration mode to create a translation rule set.
Users can define more than one rules for the translation rule set using “rule”
command on the translation-rule configuration mode. The following table
shows how to define rules for the translation rule set.
Step Command Description
1 Router# configure
Enters into the configuration mode.
2 Router(config)# translation-rule
tag
Enters into the translation rule
configuration mode.
The tag is an identifier of the translation
rule set.
3 Router(translation-rule)# rule
rule-tag
input-matched-pattern
substituted-pattern
The rule-tag is an identifier of the rule
within the rule set. The rule-tag values
range from 0 to 65535.
The input-matched-pattern means the
digit to be inputted for
pattern-matching.
0 ~ 9, “#” “*” “[]” “.” and T can be
entered.
The substituted-pattern is a pattern to
be converted upon successful pattern
matching.
0 ~ 9, “#” “*” “%” “.” and T can be
entered.