8291bd4398671c9b096dae14f909bdc36145edd1
[openwrt/svn-archive/archive.git] / net / freeswitch / files / etc.minimal / freeswitch.xml
1 <?xml version="1.0"?>
2 <!--
3 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
4
5 This is the OpenWRT FreeSWITCH minimal config. It is modified from the the
6 FreeSWITCH default config to use only the modules in the freeswitch-minimal
7 package, and is less exhaustive. If you wish to view the default FreeSWITCH
8 config install package freeswitch-config-example and look under
9 /usr/share/freeswitch/examples/conf. Everything you see before you now traverses
10 down into all the directories including files which include more files. The default
11 config comes out of the box already working in most situations as a PBX. This will
12 allow you to get started testing and playing with various things in FreeSWITCH.
13
14 Before you start to modify this default please visit this wiki page:
15
16 http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Some_stuff_to_try_out.21
17
18 If all else fails you can read the FreeSWITCH FAQ located at:
19
20 http://wiki.freeswitch.org/wiki/FreeSwitch_FAQ
21
22 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
23 -->
24 <document type="freeswitch/xml">
25 <!--#comment
26 All comments starting with #command will be preprocessed and never sent to the xml parser
27 Valid instructions:
28 #include ==> Include another file to this exact point
29 (partial xml should be encased in <include></include> tags)
30 #set ==> Set a global variable (can be expanded during preprocessing with $$ variables)
31 (note the double $$ which denotes preprocessor variables)
32 #comment ==> A general comment such as this
33
34 The preprocessor will compile the full xml document to ${prefix}/log/freeswitch.xml.fsxml
35 Don't modify it while freeswitch is running cos it is mem mapped in most cases =D
36
37 The same can be achieved with the <X-PRE-PROCESS> tag where the attrs 'cmd' and 'data' are
38 parsed in the same way.
39 -->
40 <!--#comment
41 vars.xml contains all the #set directives for the preprocessor.
42 -->
43 <X-PRE-PROCESS cmd="include" data="vars.xml"/>
44
45 <section name="configuration" description="Various Configuration">
46 <X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
47 </section>
48
49 <section name="dialplan" description="Regex/XML Dialplan">
50 <X-PRE-PROCESS cmd="include" data="dialplan/*.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
59 </document>
60
61