R0106-HP MSR Router Series Voice Configuration Guide(V7)

67
After you dial number 20001234 at Telephone A, the number matches VoIP entity 2000 and
Telephone B rings because the device uses shortest match mode by default.
Configuring longest match
# Configure the longest match mode on Router A.
[RouterA-voice-dial] number-match longest
After you dial number 20001234 at Telephone A and waits for a period of time, the number matches
VoIP entity 2000 and Telephone B rings. If you dial 1234 during the waiting period (the dialed number
is 200012341234), the number matches VoIP entity 2001 and Telephone C rings.
Configuring a terminator
# Configure the terminator # on Router A.
[RouterA-voice-dial] terminator #
After you dial 20001234# at Telephone A, the number immediately matches VoIP entity 2000 and
Telephone B rings.
Configuring the maximum number of total calls
allowed by a voice entity
You can limit the maximum number of total calls (both incoming and outgoing) allowed by a voice entity.
The device stops establishing new calls when the limit is reached.
To configure the maximum number of total calls allowed:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter dial program view.
dial-program N/A
4. Enter voice entity view.
entity entity-number { pots | voip } N/A
5. Configure the maximum
number of total calls allowed
by the voice entity.
max-conn max-number
By default, no maximum number of
total calls is configured.
Configuring number substitution
A number substitution rule replaces a matching number with another number. You can configure number
substation rules and then apply these rules globally or to voice entities and voice interfaces.
A number substitution process is as follows:
1. The router first matches a number against the preferred number substitution rule. If they match, the
router replaces the number based on the preferred rule.
2. If the match fails, the router matches the number against other number substitution rules in
sequence. Once a rule is matched, the router replaces the number based on the matching rule and
stops matching other number substitution rules.