Download Chapter 1 Basic Configuration Commands

Transcript
Command Manual – Feature
H3C XE 200/2000 IP PBX
Chapter 1 Number Substitution
Operation
Command
Substitute both calling and called
numbers in a call, provided they match
the input calling and called number
patterns respectively
rule rule-tag caller input-format
output-format callee input-format
output-format { before | after }
Example
# Configure three substitute rules for gateway device gw01.
[XE2000-ls-gw-gw01] rule 1 caller 88...... 51...... after
[XE2000-ls-gw-gw01] rule 2 callee 63...... 83...... before
[XE2000-ls-gw-gw01] rule 3 caller 88...... 51...... callee 63...... 83......
after
1.1.14 rule (LS-OFFICEGROUP view)
Syntax
rule rule-tag { caller input-format output-format [ callee input-format output-format ] |
callee input-format output-format } { before | after }
undo rule { rule-tag | all }
View
LS-OFFICEGROUP view
Parameter
rule-tag: Substitute rule tag, in the range of 0 to 7.
caller: Sets input/output calling number pattern.
callee: Sets input/output called number pattern.
input-format:
Input
number
pattern,
consisting
of
characters
^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The number should be within 31 digits in length.
output-format:
Output
number
pattern,
consisting
of
characters
^(\^)!(\+)!([0-9ABCD·%!*#]+)(\$)!$. The length should be within 31 digits in length.
before: Performs number substitution before number analysis.
after: Performs number substitution after number analysis.
all: Deletes all substitute rules.
Description
Use the rule command to configure a substitute rule for the office group.
Use the undo rule command to delete the specified or all substitute rules for the office
group.
1-10