1<?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  <!-- mod_dingaling is reliant on the vcard data in the "directory" section. -->
50  <!-- mod_sofia is reliant on the user data for authorization -->
51  <section name="directory" description="User Directory">
52      <X-PRE-PROCESS cmd="include" data="directory/*.xml"/>
53  </section>
54
55  <!-- languages section (under development still) -->
56  <section name="languages" description="Language Management">
57    <X-PRE-PROCESS cmd="include" data="lang/de/*.xml"/>
58    <X-PRE-PROCESS cmd="include" data="lang/en/*.xml"/>
59    <X-PRE-PROCESS cmd="include" data="lang/fr/*.xml"/>
60    <X-PRE-PROCESS cmd="include" data="lang/ru/*.xml"/>
61    <X-PRE-PROCESS cmd="include" data="lang/he/*.xml"/>
62    <X-PRE-PROCESS cmd="include" data="lang/es/es_ES.xml"/>
63    <X-NO-PRE-PROCESS cmd="include" data="lang/es/es_MX.xml"/>
64    <X-PRE-PROCESS cmd="include" data="lang/pt/pt_BR.xml"/>
65    <X-NO-PRE-PROCESS cmd="include" data="lang/pt/pt_PT.xml"/>
66    <X-NO-PRE-PROCESS cmd="include" data="lang/sv/*.xml"/>
67  </section>
68
69</document>
70