extensions.txt 1.1 KB

1234567891011121314151617181920212223
  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 explicitly 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. GoTo: Go to a specific extension
  8. Answer: Answer the line, if it hasn't already been answered
  9. Also, there are some extensions with important meanings:
  10. s: What to do when an extension context is entered (unless
  11. overridden by the low level channel interface)
  12. i: What to do if an invalid extension is entered
  13. t: What to do if nothing is entered in the requisite amount
  14. of time.
  15. And finally, the extension context "default" is used when either a) an
  16. extension context is deleted while an extension is in use, or b) a specific
  17. starting extension handler has not been defined (unless overridden by the
  18. low level channel interface).