Telephone Menu
Voice Gateways System Manual 55
StringList::= String | String "|" StringList
DialPlan::= String | "(" StringList ")"
[0-9] denotes a single digit between 0 and 9. To configure a range of more than 10
numbers (e.g., 800xxx-819xxx) use the scheme: 80xxxx|81[0-9]xxx.
A dialplan, according to this syntax, is defined either by a (case insensitive) string
or by a list of strings. Regardless of the above syntax a timer is only allowed if it
appears in the last position in a string (12T3 is not valid). Each string is an
alternate numbering scheme. The unit will process the dialplan by comparing the
current dial string against the dialplan. If the result is under-qualified (partial
matches at least one entry) then it will do nothing further but wait until a full
match is reached. If the result is over-qualified (no further digits could possibly
produce a match) then it aborts the dial attempt and notifies end-user with an
audio signal. Only a full match will trigger to initiate a call, by sending the dialed
information to a Gatekeeper/SIP server.
The Timer T is activated when it is all that is required to produce a match. The
period of timer T is 4 seconds as default (configurable). For example a dialplan of
(xxxT|xxxxx) will match immediately if any 5 digits are entered. It will also match
following a 4 second pause after entering 3 digits.
Simple dialplan (Example 1):
Following example allows dialing any 7-digit number (e.g. 5551234) or an operator
on 0.
Dialplan is: (0T|xxxxxxx)
Complex dialplan (Example 2):
Local operator on 0, long distance operator on 00, four digit local extension
number starting with 3,4 or 5, seven digit local numbers are prefixed by an 8, two
digit star services (e.g. 69), ten digit long distance prefixed by 91, and
international numbers starting with 9011+one or more digits.
Dialplan for this is: (0T|00T|[3-5]xxx|8xxxxxxx|*xx|91xxxxxxxxxx|9011xx.T)
IMPORTANT
The dialplan is according to section 2.1.5 of RFC 3435.
The “.” notation, denotes zero or more keys. That is, x.# means none or at least one digit followed
by # and x.T means none or at least one digit followed by T.
However, having only T in the dialplan (where x is null) activates the Hotline function (see
Section 3.7.7.1). To avoid unwanted activation of the hotline function, use the default dialplan,
xx.#|xx.T.