2009-04-07 22:44:23 -04:00
|
|
|
<?xml version="1.0"?>
|
2008-09-29 01:23:28 -04:00
|
|
|
<!--
|
|
|
|
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
|
|
|
|
|
|
|
|
This is the FreeSWITCH default config. Everything you see before you now traverses
|
|
|
|
down into all the directories including files which include more files. The default
|
|
|
|
config comes out of the box already working in most situations as a PBX. This will
|
|
|
|
allow you to get started testing and playing with various things in FreeSWITCH.
|
|
|
|
|
|
|
|
Before you start to modify this default please visit this wiki page:
|
|
|
|
|
|
|
|
http://wiki.freeswitch.org/wiki/Getting_Started_Guide#Some_stuff_to_try_out.21
|
|
|
|
|
|
|
|
If all else fails you can read our FAQ located at:
|
|
|
|
|
|
|
|
http://wiki.freeswitch.org/wiki/FreeSwitch_FAQ
|
|
|
|
|
|
|
|
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
|
|
|
|
-->
|
2006-05-09 23:23:05 -04:00
|
|
|
<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>
|
2008-05-13 03:45:58 -04:00
|
|
|
<X-PRE-PROCESS cmd="include" data="lang/en/*.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
|
|
|
|