![background image](http://html.mh-extra.com/html/cisco/isdn-gw-3241/isdn-gw-3241_online-help-manual_64939040.webp)
Dial plan syntax
Cisco TelePresence ISDN Gateways v2.0 Online help (Printable format)
40 of 116
Dial plan syntax
This page describes the syntax that you can use when adding dial plans.
Syntax for conditions (Called number matches)
When you configure the
Condition
for a dial plan rule, you may want to specify a pattern for the called
number rather than specifying any of: called number, no called number or the exact called number.
The table below describes the syntax you can you to express a pattern for the
Called number matches
field in the condition of a rule:
Syntax
Description
Example
Numbers 0
to 9
To match a specific number, enter that
number.
Example: to match calls to "001234",
type 001234. The condition will match
that and only that number.
S
To match an * (known as an asterisk or star),
enter an S.
Example: to match calls to "**1234",
type SS1234. The condition will match
that and only that number.
P
To match a # (known as a pound or hash),
enter a P.
Example: to match calls to "#1234", type
P1234. The condition will match that and
only that number.
D
To match any digit, # (known as a pound or
hash), and/or * (known as an asterisk or star)
use the wildcard character
D
Example: to match any number that
starts with "623" followed by exactly two
more digits, type 623DD. This condition
will match "62300", "62323", "62355",
"62399" "623*#", etc. but not "623" or
"623233".
?
To match once or zero times, use
?
Example: "6?" means match one 6 or no
6s, and is useful when used with the
wildcard "
D
" where you do not know how
long a number will be. The expression:
"67800D?" will match "67800" and
"678004" but not "67800666".
+
To match once or more, use
+
Example: "5+" means "match at least
one 5, but possibly more".
*
To match zero or more times, use
*
. This is
useful when used with the wildcard: "D*"
means "match any digit, any number of times".
Example: to match any number that
starts with "01", has any amount of digits
in the middle, and ends with "5", type
01
D* 5.
()
Parentheses indicate substitution groups. To
include any of the incoming called digits in the
outgoing called number, enclose them in
parentheses. Note that if you wish to include
the complete number, you do not need to
enclose the whole expression in parentheses.
Example: to match any number starting
with "678", then followed by a number of
other digits, and you wish the final digits
to form part of the called number, type
the expression: 678 (D*). This will match
"6780000", "678123", "6789999" etc. but
not "775000".