Configuring a global number match mode

Use the number-match command to determine the number match mode: longest match or shortest match. Suppose you have configured match-template 0106688 and match-template 01066880011 respectively on two voice entities.

When a subscriber dials 01066880011:

When a subscriber dials 0106688:

To configure a global number match mode:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter voice view.

voice-setup

N/A

3. Enter voice dial program view.

dial-program

N/A

4. Configure a global number match mode.

number-match { longest | shortest }

By default, the shortest match mode is adopted.