R2511-HP MSR Router Series Voice Command Reference(V5)

160
Default command level
2: System level
Parameters
longest: Matches the longest number.
shortest: Matches the shortest number.
Usage guidelines
If the longest-number match mode 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 does 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.
Examples
# Configure the longest-number match mode.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] number-match longest
Related commands
match-template
terminator
number-priority
Use number-priority peer enable to match a number against a voice entity match template first.
Use undo number-priority peer to restore the default.
Syntax
number-priority peer enable
undo number-priority peer
Default
A number starting with an asterisk (*) or a pound sign (#) first matches against a service feature code.
Views
Voice dial program view
Default command level
2: System level
Examples
# Configure a number to first match against a voice entity match template.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] number-priority peer enable