Version 0.1.0 from FTP
[asterisk/asterisk.git] / doc / extensions.txt
1 Extensions are routed according to priority, and may be based on any set
2 of digits, #, and *.  For each extension, several actions may be listed
3 and each given a priority.  When each action completes, it generally moves
4 to the next priority (except for some modules which use explicity GOTO's. 
5 Extensions frequently have data they pass to the executing application
6 (most frequently a string).  There are some reserved application names: 
7
8         GoTo:   Go to a specific extension
9         Answer: Answer the line, if it hasn't already been answered
10         
11 Also, there are some extensions with important meanings:
12
13         s:      What to do when an extension context is entered (unless
14                 overridden by the low level channel interface)
15         i:      What to do if an invalid extension is entered
16         t:      What to do if nothing is entered in the requisite amount
17                 of time.
18
19 And finally, the extension context "default" is used when either a) an 
20 extension context is deleted while an extension is in use, or b) a specific
21 starting extension handler has not been defined (unless overrridden by the
22 low level channel interface).