3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2628 CHAPTER 174: DIAL PLAN CONFIGURATION COMMANDS
Related command: number-substitute.
Example # Display the configuration information of all number substitution rule lists.
<Sysname> display voice number-substitute
Current configuration of number-substitute
#
************ NUMBER-SUBSTITUTE ************
List-tag : 4
First-rule : INDEX_INVALID
Dot-match : left-right
rule 1
Input-format : ^011408
Output-format : 1408
#
End
dot-match
Syntax dot-match { end-only | left-right | right-left }
undo dot-match
View Voice number-substitute view
Parameter end-only: Reserves the digits which all ending dots (.) in the number input format
correspond to.
left-right: Reserves from left to right the digits which the dots in the number
input format corresponds to.
right-left: Reserves from right to left the digits which the dots correspond to in a
number.
Description Use the
dot-match command to configure the dot match rule of the number
substitution rule list.
Use the
undo dot-match command to restore the dot match rule to the default.
This command only applies to the rules of the number substitution rule list in
current view.
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.
n
For details about the dot match rule of the number substitution rule list, refer to
“rule” on page 2634.