FreeSWITCH 1.8
上QQ阅读APP看书,第一时间看更新

Default context

The default context is the workhorse of the demo configuration: all calls from internal phones are sent to "default" context. Is the most complex context of the demo configuration, with an awful number of extensions.

Most of its extensions (see below for the exact meaning of the term "extension" in FreeSWITCH) are not "final destinations" for the call, instead they simply attach some variables to the call representation, based on the call matching or not matching certain criteria (patterns). Some extensions lead to services (IVRs, voicemail, conferences, etc). Only one of all the extensions in the default context is a bridge to internal phones, that is, what traditionally has been designated with the word "extension".

The XML dialplan's default context in demo configuration is in /usr/local/freeswitch/conf/dialplan/default.xml file, and includes all XML files inside the /usr/local/freeswitch/conf/dialplan/default/ directory.