Overview
Dial plans determine how digits are interpreted and transmitted. They also determine whether the dialled number is accepted or rejected. You can use a dial plan to facilitate dialling or to block certain types of calls such as long distance or international.
A dial plan contains a series of digit sequences, separated by the | character. The entire collection of sequences is enclosed within parentheses. Each digit sequence within the dial plan consists of a series of elements that are individually matched to the keys that the user presses.
White space is ignored but can be used for readability.
Default dial plan
All phones will come with a default US dial plan as follows:
- (*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)
Dial Plan Examples
- *xx|#xx|x.
- *xx|#xx|x.|+x.
- (*xx|#xx|+x.)
- (P60|(xx.|+x.|*x.|#x.|*x.*x.))
- L:6, S:6, (911|[1-8]11|[0-9]xxx|**xx|#x.|0|00|01[2-9]xx.|*xx.|011x.|[0-1]xxxxxxx|[0-1][2-9]xxxxxxxxxS0|[2-9]xxxxxxxxxS0|[2-9]xxxxxx|101xxxx.|[0-9]x.|xx|#xx.|#xx.|#xx)
- ([2346789]11S0|[0-1][2-9]11S0|0|00S0|01[2-9]xx.|[#]xx[#]|*xx.|*xxxxxxS0|*xxxxxxxxxxxx|[2-9]#|011x.|[0-1]xxxxxxx|[0-1][2-9]xxxxxxxxxS0|[2-9]xxxxxxxxxS0|[2-9]xxxxxx|101xxxx.|11S0|[2-9]x.)
- (xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.|#xx.|#xx.#xxx.*)
- (*#xx#|*xx#|#xx*|#xx#|*xx*|*xx.|#xx.|0[1-9]xxxxxxxxxS0|00[1-9]x.|1571S0|118xxx|999S0|112S0|x.|+x.)
Timers
Off-Hook timer settings can be configured in two places. Directly in the dial plan string or in the Dial Tone configuration.
- SYNTAX: (Ps<:n> | dial plan)
s: The number of seconds; if no number is entered after P, the default timer of 10 seconds applies. With the timer set to 0 seconds, the call transmits automatically to the specified extension when the phone goes off hook.
n: (optional): The number to transmit automatically when the timer expires; you can enter an extension number or a DID number. No wildcard characters are allowed because the number is transmitted as shown. If you omit the number substitution, <:n>, the user hears a reorder (fast busy) tone after the specified number of seconds.
- <Dial_Plan_1_ ua="na">(P60|(xx.|+x.|*x.|#x.|*x.*x.))</Dial_Plan_1_>
It can also be configured by modifying the value highlighted below.
- <Dial_Tone ua="na">350@-19,440@-19;60(*/0/1+2)</Dial_Tone>
Interdigit Timeout
There are two interdigit timers on the phone, the interdigit long timer and the interdigit short timer.
This interdigit long timer applies as long as the dialled digits do not match any digit sequences in the dial plan. Unless the user enters another digit within the specified number of seconds, the entry is evaluated as incomplete, and the call is rejected. The default value for the interdigit long timer is 10 seconds.
The interdigit short timer applies when the dialled digits match at least one digit sequence in the dial plan. Unless the user enters another digit within the specified number of seconds, the entry is evaluated. If the entry is valid, the call proceeds. If the entry is invalid, the call is rejected. The default value for the interdigit short timer is 3 seconds.
Both the interdigit long and interdigit short timers can be changed using a L and S value respectively at the start of the dial plan, similar syntax as the off hook timer value (a P value at the start of the dial plan).