login | register
Sat 30 of Aug, 2008 [01:57 UTC]

voip-info.org

Discuss [1] History

Asterisk contexts

Created by: oej,Last modification on Tue 24 of Jul, 2007 [18:33 UTC] by michael.davis
All defined extensions belong to one CONTEXT. These are defined in extensions.conf and referenced in many other configuration files.

You can jump between contexts with the Goto application. Macros are defined as separate contexts.

Contexts are named freely, but a few standardized contexts exist.

Contexts contain several lines, one for each step of each extension, which can take one of two forms as listed below, with the first form being preferred. One may include another context in the current one as well, optionally with a date and time. Included contexts are included in the order they are listed.

Example

 [context]
 exten => someexten,priority,application(arg1,arg2,...)
 exten => someexten,priority,application,arg1|arg2...



Standard contexts

  • default: The default context

Contexts related to various modules/applications

  • parkedcalls: Asterisk cmd ParkedCall:ParkedCall application
  • disa: DISA application

See also



Back to Asterisk


Comments

Comments Filter
222

333naming restrictions

by , Wednesday 02 of February, 2005 [01:06:48 UTC]
This page should have info on character restrictions for context names (ie, alphanumeric, hyphen and underscore, if it start with a number), if it's case sensitive or not, and length limits.