~ubuntu-branches/ubuntu/karmic/asterisk/karmic

« back to all changes in this revision

Viewing changes to doc/extensions.txt

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2002-04-27 21:19:32 UTC
  • Revision ID: james.westby@ubuntu.com-20020427211932-kqaertc4bg7ss5mc
Tags: upstream-0.1.11
ImportĀ upstreamĀ versionĀ 0.1.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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).