3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2626 CHAPTER 174: DIAL PLAN CONFIGURATION COMMANDS
n
The sub-expression (one digit or digit string) before signs such as !, %, and + is
used for imprecise match. The processing of these signs is similar to that of the
wildcard “.”. These signs must follow a valid digit or digit string and cannot exist
independently.
If embedded, signs “[ ]” and “( )“ must be presented in the form of “( [ ] )“. The
forms of “[ [ ] ]” and “[ ( ) ]” are incorrect.
The sign “-”can present itself only in “[ ]” and characters at the two ends must be
of the same type.
Description Use the
caller-permit command to configure a calling number permitted to
originate calls to the local voice entity.
Use the
undo caller-permit command to remove the configuration.
By default, no calling number is configured, that is, incoming calls are not
restricted.
At most 32 calling numbers are permitted to originate calls to a voice entity.
Related command: match-template on page 2599.
Example # Configure voice entity 2 to accept 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 accept calls from the number beginning with “20”.
[Sysname-voice-dial-entity2] caller-permit 20
dial-prefix
Syntax dial-prefix string
undo dial-prefix
% 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.
[ ] Indicates a range for matching. For example, [1-36A] indicates a single
character among 1, 2, 3, 6, and A can be matched.
( ) 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).
Table 685 Description of characters in a string
Character Meaning