3Com MSR 30, MSR 50 manual Dot-match, Related command number-substitute, Undo dot-match, Rule on

Models: MSR 50 MSR 30

1 2742
Download 2742 pages 31.98 Kb
Page 2628
Image 2628

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-matchcommand to configure the dot match rule of the number

 

substitution rule list.

 

Use the undo dot-matchcommand 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.

Page 2628
Image 2628
3Com MSR 30 manual Related command number-substitute, Dot-match end-only left-right right-left, Undo dot-match, Rule on