R2511-HP MSR Router Series Voice Configuration Guide(V5)
107
# Configure the longest match mode on Router A. The other steps are the same as those for the
shortest match mode.
[RouterA-voice-dial] number-match longest
After you dial number 20001234 at Telephone A and waits for a period of time (during this
period, you can continue dialing), the number matches VoIP entity 2000 and Telephone B is
alerted. If you continue to dial 1234 during this period (that is, the dialed number is actually
200012341234), the number matches VoIP entity 2001 and Telephone C is alerted.
• Dial terminator
# Configure the longest match mode and the dial terminator # on Router A. The other steps are the
same as those for the shortest match mode.
[RouterA-voice-dial] number-match longest
[RouterA-voice-dial] terminator #
After you dial 20001234# at Telephone A, the number immediately matches VoIP entity 2000
and Telephone B is alerted.
Configuring match order of voice entity selection
rules
If multiple voice entities can match a call number, the voice gateway follows the configured rules to select
a proper voice entity.
The match order is as follows:
1. Voice entity type selection priority rule—This rule means that different priorities are configured for
different types of voice entities (VoIP, POTS, VoFR and IVR). The voice gateway matches a voice
entity according to the priorities of different types of voice entities.
2. Match order of voice entity selection rules—These rules cover exact match, priority, random
selection, and longest idle time. For more information, see Voice Command Reference. You can
select one to three rules to form a sequence. The voice gateway will first select a voice entity
according to the first rule. If the voice gateway fails to decide which number should be selected
according to the first rule, it will apply the second rule, and so on.
Configuration prerequisites
The required basic configurations have been completed on POTS, VoIP, VoFR, and IVR entities.
Configuration procedure
To configure voice entity selection priority rules:
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. Enter voice entity view.
entity entity-number { pots | ivr |
vofr | voip }
N/A










