Information Technology Reference
In-Depth Information
The following example shows a translation rule:
translation-rule 1
rule 1 /^1234/ /5678/
rule 2 /^4321/ /8765/
In the example, the translation-rule name-tag command is used to specify the translation rule name and enter translation rule
configuration mode.
Next, the rule precedence / match-pattern / / replace-pattern / [ type { match-type replace-type } [ plan { match-type replace-type }]]
command is used to create a translation rule.
As the name suggests, the precedence parameter specifies the precedence of the translation rule (1 to 15). The precedence determines
the order in which the rules are executed.
The match-pattern and replace-pattern parameters are used to match and replace Stream EDitor (SED) expressions. The / character is
a delimiter.
So, in the example, call information beginning 1234 is translated into 5678, and call information beginning 4321 is translated into
8765. Note that the caret (^) character matches the beginning of a line. If you want to replace 1234 or 5678 wherever they appeared in
a number pattern, on the other hand, you would not include the caret character. Any characters that are not matched and replaced by
the translation rule are simply preserved in this example.
Having created translation rules, the next step is to configure translation profiles. The following example shows the configuration of a
translation profile:
voice translation-profile mjlprofile
translate calling 1
translate called 2
translate redirect-called 3
The voice translation-profile name command in the example configures the profile name and enters translation profile configuration
mode.
 
Search WWH ::




Custom Search