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

150
Character Meanin
g
Plus sign (+)
Indicates the sub-expression before it appears one or more times. However, if a calling
number starts with the plus sign, the sign itself does not have special meanings, and
only indicates that the following is an effective number and the number is
E.164-compliant. For example, 9876(54)+ can match 987654, 98765454,
9876545454, and so on, and +110022 is an E.164-compliant number.
The sub-expression (one digit or digit string) before a plus sign (+) is used for imprecise
match. The processing of the sign is similar to that of the wildcard dot (.). This sign must
follow a valid digit or digit string and cannot exist independently.
Hyphen (-)
Used to connect two numbers (The smaller comes before the larger) to indicate a range
of numbers, for example, 1-9 inclusive.
The hyphen (-) can present itself only in brackets ([ ]) and characters at the two ends
must be of the same type.
Percent sign (%)
Indicates the sub-expression before it appears multiple times or does not appear. For
example, 9876(54)% can match 9876, 987654, 98765454, 9876545454, and so
on.
The sub-expression (one digit or digit string) before a percent sign (%) is used for
imprecise match. The processing of the sign is similar to that of the wildcard dot (.). This
sign must follow a valid digit or digit string and cannot exist independently.
Brackets ([ ])
Indicates a range for matching. For example, [1-36A] indicates a single character
among 1, 2, 3, 6, and A can be matched.
If embedded, brackets([ ]) and parentheses (( )) must be presented in the form of "( [ ] )".
The forms of "[ [ ] ]" and "[ ( ) ]" are incorrect.
Parentheses (( ))
Indicates a string of characters. For example, (123) indicates the character string 123.
It is usually used together with signs such as !, %, or +. For example, 408(12)+ can
match the character string 40812 or 408121212, but not 408 (that is, the string 12
can appear repeatedly and must appear once).
If embedded, brackets([ ]) and parentheses (( )) must be presented in the form of "( [ ] )".
The forms of "[ [ ] ]" and "[ ( ) ]" are incorrect.
Usage guidelines
At most 32 calling numbers are permitted to originate calls to a voice entity.
Examples
# Configure voice entity 2 to originate calls from the number 660268.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 2 pots
[Sysname-voice-dial-entity2] caller-permit 660268$
# Configure voice entity 2 to originate calls from the number beginning with "20".
[Sysname-voice-dial-entity2] caller-permit 20
Related commands
match-template
description
Use description to configure a subscriber group description string.