beautypg.com

H3C Technologies H3C MSR 50 User Manual

Page 644

background image

259

Table 238 Configuration items

Item Description

Number Substitution Rule
List ID

Specify the ID of the number substitution rule list.

Dot Match Rule

End-Only—Reserve the digits to which all ending dots (.) in the input number
correspond.

Left-to-Right—Reserve from left to right the digits to which the dots in the

input number correspond.

Right-to-Left—Reserve from right to left the digits to which the dots in the

input number correspond.

By default, the dot match rule is End-Only.
The dots here are virtual match digits. Virtual match digits refer to those
matching the variable part such as ., +, %, !, and [] in a regular expression. For

example, when 1255 is matched with the regular expression 1[234]55, the

virtual match digit is 2, when matched with the regular expression 125+, the

virtual match digit is 5, and matched with the regular expression 1..5, the virtual
match digits are 25.

Rule ID

Specify the ID of the number substitution rule.

Input Number

Specify the input number involved in number substitution, in the format of [ ^ ]
[ + ] input number [ $ ], 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 device 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 the last character
of the match string.

string—String consisting of characters such as 0 to 9, #, *, ., !, and %.

Output Number

Specify the output involved in number substitution, in the format of
^(+)![0-9#*.]+$.

Input Number Type

Specify the types of the input number and output number involved in number
substitution.

Output Number Type

Input Numbering Plan

Specify the input and output numbering plans involved number substitution.

Output Numbering Plan

Applied First (only one rule
can be applied first)

Set the preferred number substitution rule of the current number substitution rule
list.
In a voice call, the system first uses the preferred number substitution rule for
number substitution. If this rule fails to apply or is not configured, it tries to apply

all other rules in order until one or none of them applies.
During a number substitution process, there can be multiple rules, but only one

of them can be set as the preferred one. Moreover, the latest configuration
overwrites the previous one.
By default, this function is disabled.

Add a Rule

Save the configured rule.

This manual is related to the following products: