56
Appendix E - Dial Plan
The dial-plan feature of your telephone mimics that of the MGCP protocol.
Here is an example of a basic dial plan for making local, interstate, and international calls
with access to emergency and directory assistance. The 'T' is a timeout set to four
seconds.
([49]11|1xxxxxxxxxx|[23456789]xxxxxx|011x.T)
Here is the same dial plan except that 9 is required to obtain an outside line.
(9[49]11|91xxxxxxxxxx|9[23456789]xxxxxx|9011x.T)
The following is an excerpt from the MGCP specification which further explains the dial-
plan scheme.
A digit map, according to this syntax, is defined either by a (case insensitive) "string" or by a
list of strings. Each string in the list is an alternative numbering scheme, specified either as a
set of digits or timers, or as an expression over which the gateway will attempt to find a
shortest possible match. The following constructs can be used in each numbering scheme:
•
Digit:
A digit from "0" to "9".
•
Timer:
The symbol "T" matching a timer expiry.
•
DTMF:
A digit, a timer, or one of the symbols "A", "B", "C", "D", "#", or "*".
Extensions may be defined.
•
Wildcard:
The symbol "x" which matches any digit ("0" to "9").
•
Range:
One or more DTMF symbols enclosed between square brackets
("[" and "]").
•
Subrange:
Two digits separated by hyphen ("-") which matches any digit
between and including the two. The subrange construct can only be
used inside a range construct, i.e., between "[" and "]".
•
Position:
A period (".") which matches an arbitrary number, including zero, of
occurrences of the preceding construct.