R2511-HP MSR Router Series Voice Command Reference(V5)
163
[Sysname] subscriber-line1/0
[Sysname-subscriber-line1/0] private-line 5559262
rule
Use rule to configure a number substitution rule.
Use undo rule to remove a specified number substitution rule or all number substitution rules.
Syntax
rule rule-tag input-number output-number [ number-type input-number-type output-number-type |
numbering-plan input-numbering-plan output-numbering-plan ] *
undo rule { rule-tag | all }
Default
No number substitution rule is configured.
Views
Voice number-substitute view
Default command level
2: System level
Parameters
all: Deletes all number substitution rules.
rule-tag: Number identifying a substitution rule, in the range of 0 to 31.
input-number: Input string of a number involved in number substitution, in the format of [ ^ ] [ + ] string
[ $ ], up to 31 characters. The signs are explained as follows:
• Caret (^): The match begins with the first character of a number string. That is, the router begins with
the first character of the match string to match a user number.
• Plus sign (+): The sign itself does not have special meanings. It only indicates that the following
string is an effective number and the number is E.164-compliant.
• Dollar sign ($): It indicates that the last character of the match string must be matched. That is, the
last digit of a user number must match with the last character of the match string.
• string: A string consisting of any characters of digits 0 through 9, and pound sign (#), asterisk (*),
dot (.), exclamation point (!), plus sign (+), percent sign (%), brackets ([ ]), parentheses (()), and
hyphen (-).The characters in a string are described in the following table:
Table 34 Meanings of characters in a string
Character Meanin
g
0-9
Digit from 0 through 9.
Pound sign (#) and
asterisk (*)
Each indicates a valid digit.
Dot (.)
Wildcard, which can match any valid digit. For example, 555…. can match any
number beginning with 555 and ending up with four additional characters.
Exclamation point (!)
The character or sub-expression before the sign does not appear or appears only once.
For example, 56!1234 can match 51234 and 561234.










