VoiceFinder AP1100 VoIP Gateway User’s Guide Version 1.1AddPac Technology Co., Ltd. - 151 -5.3.7. Configuration Number Translation5.3.7.1. Creating Translation RulesUsers can translate called/calling party number of the inbound/outbound callsin the AP1100 Gateway. When translating called/calling party number of theinbound call, received called/calling party numbers are translated by thetranslation rule and used to select the outbound dial peer. When translatingcalled/calling party numbers of the outbound call, called/calling partynumbers that are used for originating a call are translated by the translationrule and calls are processed.When changing private numbers into public numbers or vice versa or whenextending numbers, number translation is used. Number translation providesmore various conversions than number expansion. To translate numbers, atranslation rule set shall be created first. Use “translation-rule” command onthe 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 tableshows how to define rules for the translation rule set.Step Command Description1 Router# configure Enters into the configuration mode.2 Router(config)# translation-ruletag Enters into the translation ruleconfiguration mode.The tag is an identifier of the translationrule set.3 Router(translation-rule)# rulerule-taginput-matched-patternsubstituted-patternThe rule-tag is an identifier of the rulewithin the rule set. The rule-tag valuesrange from 0 to 65535.The input-matched-pattern means thedigit to be inputted forpattern-matching.0 ~ 9, “#” “*” “[]” “.” and T can beentered.The substituted-pattern is a pattern tobe converted upon successful patternmatching.0 ~ 9, “#” “*” “%” “.” and T can beentered.