blob: 99d8499d1957bc544c628c09008dfdab7a23e479 [file] [log] [blame]
Oliver Smith667f19b2019-11-08 18:16:30 +01001<?xml version="1.0"?>
2<!--
3 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
4
5 This is the FreeSWITCH default config. Everything you see before you now traverses
6 down into all the directories including files which include more files. The default
7 config comes out of the box already working in most situations as a PBX. This will
8 allow you to get started testing and playing with various things in FreeSWITCH.
9
10 Before you start to modify this default please visit this wiki page:
11
12 http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Some_stuff_to_try_out.21
13
14 If all else fails you can read our FAQ located at:
15
16 http://wiki.freeswitch.org/wiki/FreeSwitch_FAQ
17
18 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
19-->
20<document type="freeswitch/xml">
21 <!--#comment
22 All comments starting with #command will be preprocessed and never sent to the xml parser
23 Valid instructions:
24 #include ==> Include another file to this exact point
25 (partial xml should be encased in <include></include> tags)
26 #set ==> Set a global variable (can be expanded during preprocessing with $$ variables)
27 (note the double $$ which denotes preprocessor variables)
28 #comment ==> A general comment such as this
29
30 The preprocessor will compile the full xml document to ${prefix}/log/freeswitch.xml.fsxml
31 Don't modify it while freeswitch is running cos it is mem mapped in most cases =D
32
33 The same can be achieved with the <X-PRE-PROCESS> tag where the attrs 'cmd' and 'data' are
34 parsed in the same way.
35 -->
36 <!--#comment
37 vars.xml contains all the #set directives for the preprocessor.
38 -->
39 <X-PRE-PROCESS cmd="include" data="vars.xml"/>
40
41 <section name="configuration" description="Various Configuration">
42 <X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
43 </section>
44
45 <section name="dialplan" description="Regex/XML Dialplan">
46 <X-PRE-PROCESS cmd="include" data="dialplan/*.xml"/>
47 </section>
48
49 <section name="chatplan" description="Regex/XML Chatplan">
50 <X-PRE-PROCESS cmd="include" data="chatplan/*.xml"/>
51 </section>
52
53 <!-- mod_dingaling is reliant on the vcard data in the "directory" section. -->
54 <!-- mod_sofia is reliant on the user data for authorization -->
55 <section name="directory" description="User Directory">
56 <X-PRE-PROCESS cmd="include" data="directory/*.xml"/>
57 </section>
58</document>