A-Series Dial Plans
Dial Plans
The dial plan includes settings that specify the behavior of the phone as a user enters a number in off-hook dialing mode.
When a number matches a pattern, the number is sent to Asterisk to place the call. The pattern may include a timer at the end. If no numbers are entered before the time expires, the number matching the pattern will be sent. If additional numbers are entered before the time elapses, the pattern no longer matches.
The syntax of a digit map is:
Digit Map Syntax
digitmaplist := digitmap ( '|' digitmap )* digitmap := digitstring | digitstring timer digitstring := atom+ atom := literal | class | wildcard literal := digit | '*' | '#' digit := '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' class := '[' range+ ']' wildcard := '.' range := digit | digit '-' digit timer := T digit*
Example:
The following example assumes the following dials will be completed:
Dial four digit extensions from 0000-8999 after the default timeout.
Dial 911 immediately
Dial 9911 immediately
Dial 411 immediately
Dial 611 immediately
Dial numbers beginning with 011 followed by at least 4 more digits after a delay of 3 seconds.
Dial numbers beginning with 1 followed by 10 digits immediately
Dial numbers beginning with 2-9 followed by 6 digits immediately
Dial a star followed by a two digits after a delay of 3 seconds.
A2x Dial Plan Example
<<VOIP CONFIG FILE>>Version:2.0002 <TELE CONFIG MODULE> --Digital List-- : Item1 rule :[0-9]xxx Item2 rule :911 Item3 rule :9911 Item4 rule :411 Item5 rule :611 Item6 rule :011xxxx.T3 Item7 rule :1xxxxxxxxxx Item8 rule :[2-9]xxxxxx Item9 rule :*xx.T3 <<END OF FILE>> |
A30 Dial Plan Example
<<VOIP CONFIG FILE>>Version:2.0000000000 <CALL FEATURE MODULE> --Dial Plan List-- : Item1 Number :[0-9]xxx Item1 Line :1 Item2 Number :911 Item2 Line :1 Item3 Number :9911 Item3 Line :1 Item4 Number :411 Item4 Line :1 Item5 Number :611 Item5 Line :1 Item6 Number :011xxxx.T3 Item6 Line :1 Item7 Number :1xxxxxxxxxx Item7 Line :1 Item8 Number :[2-9]xxxxxx Item8 Line :1 Item9 Number :*xx.T3 Item9 Line :1 <<END OF FILE>> |