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

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.

主站蜘蛛池模板: 大连市| 江阴市| 万山特区| 宁陵县| 河东区| 新沂市| 潼关县| 开原市| 广宗县| 龙泉市| 定州市| 南宫市| 焦作市| 万载县| 阿拉善盟| 谷城县| 安平县| 瓮安县| 黑山县| 鹤山市| 民勤县| 绥德县| 鄱阳县| 长寿区| 汽车| 隆尧县| 乌拉特前旗| 彰化县| 建瓯市| 枣强县| 嫩江县| 密云县| 阿鲁科尔沁旗| 岳阳县| 独山县| 格尔木市| 和龙市| 彩票| 兰坪| 青河县| 石河子市|