Related command:
Example
number-match
Syntax
View
Parameter
Description
Related command:
Example
while the latter is used to configure a serial number for a
maximum-call-connection set and the maximum number of call connections.
max-call (in voice dial program view).
# Bind voice entity 10 to maximum-call-connection set 1.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] max-call 1 5
[Sysname-voice-dial] max-call 1 5
[Sysname-voice-dial] entity 10 voip
[Sysname-voice-dial-entity10] max-call 1
number-match { longest | shortest }
undo number-match
Voice dial program view
longest: Matches the longest number.
shortest: Matches the shortest number.
Use the
number-match
Use the
undo number-match
policy.
By default, the shortest-number match policy is adopted.
match-template on page 2599 and terminator.
n
If the longest-number match policy is configured and the rule command with the
input-format argument ending in a dollar sign ($) is carried out, after a user dials a
number, the system will not look up the voice entity to connect the call until the
dialing interval expires. Because the dollar sign ($) requires that the last digit
configured should match the last one dialed, the system can determine the last
dialed digit only after the dialing interval expires and the system stops collecting
digits.
# Configure the longest-number match policy.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] number-match longest
command to configure a global number match policy.
command to restore the default number match
2631