官术网_书友最值得收藏!

  • FreeSWITCH 1.2
  • Anthony Minessale Michael S Collins Darren Schreiber Raymond Chandler
  • 181字
  • 2021-08-20 16:55:54

FreeSWITCH XML Dialplan elements

The example FreeSWITCH XML Dialplan is a good place to start learning about XML Dialplan concepts. The configuration is contained in three main files and two directories, located at conf/dialplan/:

  • default.xml: This contains the primary FreeSWITCH Dialplan configuration
  • public.xml: This contains configurations for handling calls coming in to FreeSWITCH from another location
  • features.xml: This contains a special context for handling specific dialing features
  • default/: Files in this directory get included in the default context
  • public/: Files in this directory get included in the public context

The example XML configuration has many instructions for routing calls, all of which make use of the basic building blocks of a Dialplan: contexts, extensions, conditions, and actions. A context is a logical grouping of one or more extensions. An extension contains one or more conditions that must be met. Conditions contain actions that will be performed on the call, depending on whether the condition is met or not. Before further discussing these building blocks, let's revisit some of the concepts we first considered in Chapter 3, Test Driving the Example Configuration.

主站蜘蛛池模板: 弋阳县| 柯坪县| 正镶白旗| 普兰店市| 汝城县| 翁源县| 奉化市| 武邑县| 革吉县| 舞阳县| 榆树市| 琼海市| 锡林浩特市| 锦州市| 遂川县| 宝鸡市| 河间市| 资兴市| 高陵县| 永年县| 秭归县| 萨迦县| 邢台县| 五原县| 喀喇沁旗| 芜湖市| 南阳市| 江口县| 阿克苏市| 牡丹江市| 南澳县| 岳阳市| 思南县| 江门市| 上栗县| 西华县| 营山县| 平武县| 连城县| 青铜峡市| 志丹县|