2006-05-09 23:23:05 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<document type="freeswitch/xml">
|
2007-01-22 20:12:47 -05:00
|
|
|
<!--#comment
|
|
|
|
All comments starting with #command will be preprocessed and never sent to the xml parser
|
|
|
|
Valid instructions:
|
|
|
|
#include ==> Include another file to this exact point
|
|
|
|
(partial xml should be encased in <include></include> tags)
|
|
|
|
#set ==> Set a global variable (can be expanded during preprocessing with $$ variables)
|
|
|
|
(note the double $$ which denotes preprocessor variables)
|
|
|
|
#comment ==> A general comment such as this
|
|
|
|
|
2007-11-14 15:29:19 -05:00
|
|
|
The preprocessor will compile the full xml document to ${prefix}/log/freeswitch.xml.fsxml
|
2007-01-22 20:12:47 -05:00
|
|
|
Don't modify it while freeswitch is running cos it is mem mapped in most cases =D
|
2007-11-14 15:29:19 -05:00
|
|
|
|
|
|
|
The same can be achieved with the <X-PRE-PROCESS> tag where the attrs 'cmd' and 'data' are
|
|
|
|
parsed in the same way.
|
2007-01-22 20:12:47 -05:00
|
|
|
-->
|
2007-10-17 12:08:14 -04:00
|
|
|
<!--#comment
|
|
|
|
vars.xml contains all the #set directives for the preprocessor.
|
2007-04-28 15:27:17 -04:00
|
|
|
-->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="vars.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
2006-05-12 15:28:21 -04:00
|
|
|
<section name="configuration" description="Various Configuration">
|
2007-11-15 13:27:26 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
|
2006-05-12 15:28:21 -04:00
|
|
|
</section>
|
2006-09-30 20:21:06 -04:00
|
|
|
|
2006-05-12 15:28:21 -04:00
|
|
|
<section name="dialplan" description="Regex/XML Dialplan">
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="dialplan/*.xml"/>
|
2006-05-12 15:36:05 -04:00
|
|
|
</section>
|
|
|
|
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- mod_dingaling is reliant on the vcard data in the "directory" section. -->
|
|
|
|
<!-- mod_sofia is reliant on the user data for authorization -->
|
2006-05-12 15:36:05 -04:00
|
|
|
<section name="directory" description="User Directory">
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="directory/*.xml"/>
|
2006-05-12 15:36:05 -04:00
|
|
|
</section>
|
2006-12-20 16:25:14 -05:00
|
|
|
|
|
|
|
<!-- phrases section (under development still) -->
|
|
|
|
<section name="phrases" description="Speech Phrase Management">
|
|
|
|
<macros>
|
2007-11-14 16:11:54 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="lang/*/*.xml"/>
|
2006-12-20 16:25:14 -05:00
|
|
|
</macros>
|
|
|
|
</section>
|
2006-09-29 20:00:07 -04:00
|
|
|
|
2007-01-22 20:12:47 -05:00
|
|
|
</document>
|
2006-05-12 15:36:05 -04:00
|
|
|
|
2007-04-28 15:27:17 -04:00
|
|
|
|