R2511-HP MSR Router Series Voice Command Reference(V5)
38
Syntax
match-template match-string
undo match-template
Default
No number template is bound to the local voice subscriber line in POTS view, no number template is
configured for the terminating side when the POTS voice entity serves as a trunk, and no number template
is configured for the voice entity in VoIP, VoFR, or IVR entity view.
Views
POTS voice entity view, VoIP voice entity view, VoFR entity view, IVR entity view
Default command level
2: System level
Parameters
match-string: Number template. Its format is [ + ] { string [ T ] [ $ ] | T }, with the maximum length of 31
characters. The characters are described in the following.
• The plus sign (+)itself does not have special meanings. It only indicates that the following string is
an effective number and the number is E.164-compliant.
• The dollar sign ($) is the last character, indicating the end of the number. That means the entire
called number must match the string part before the dollar sign ($).
• T is timer. It means the system is waiting the subscriber for dialing any number till: the number length
threshold is exceeded, the subscriber enters the terminator; or the timer expires. T is used to match
a number with any digits.
• string is a string composed of any characters of "0123456789#*.!+%[]()-".
Table 21 Meanings of the characters in
string
Character Meaning
0-9 Numbers from 0 to 9. Each means a digit.
Pound sign (#)
and asterisk (*)
Each means a valid digit.
Dot (.)
A wildcard. It can match any digit of a valid number. For example, 555. . . . matches any
string that begins with 555 and with four additional characters.
Exclamation point
(!)
The character or characters right in front of it does not appear or appears once. For
example, 56!1234 can match 51234 and 561234.
Plus sign (+)
The character or characters right in front of it appears once or several 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, (1) 9876(54)+ matches 987654, 98765454,
9876545454 and so on. (2) +110022 indicates +110022 is compliant with E.164.
Hyphen (-)
It connects two values (the smaller one before it and the bigger one after it) to indicate a
range. For example, "1-9" means numbers from 1 to 9 (inclusive).
Percent sign (%)
The character or characters right in front of it does not appear, or appears several times.
For example, 9876(54)% matches 9876, 987654, 98765454, 9876545454 and so
on.










