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-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="switch.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="modules.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Order doesn't matter, but for clarity these are in same order as modules.conf.xml.
|
|
|
|
If they aren't loaded by modules.conf.xml, then they are ignored.
|
|
|
|
-->
|
|
|
|
<!-- Loggers -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="console.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="syslog.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Multi-Faceted -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="enum.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- XML Interfaces -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="xml_rpc.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="xml_cdr.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="xml_curl.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- none for mod_xml_cdr -->
|
|
|
|
|
|
|
|
<!-- Event Handlers -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="cdr.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="event_multicast.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="event_socket.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="xmpp_event.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="zeroconf.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Directory Interfaces -->
|
|
|
|
<!-- none for mod_ldap; dialplan_directory.conf.xml has ldap connection info -->
|
|
|
|
|
|
|
|
<!-- Endpoints -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="dingaling.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="iax.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="portaudio.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="alsa.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="sofia.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="wanpipe.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="woomera.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Applications -->
|
|
|
|
<!-- none for mod_bridgecall, mod_commands, mod_echo, mod_park, mod_playback -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="conference.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- ivr.conf is used by mod_dptools -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="ivr.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="voicemail.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="limit.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Dialplan Interfaces -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="dialplan_directory.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- mod_dialplan_xml is configured in the separate "dialplan" section. -->
|
|
|
|
|
|
|
|
<!-- Codec Interfaces -->
|
|
|
|
<!-- no configuration needed -->
|
|
|
|
<!-- File Format Interfaces -->
|
|
|
|
<!-- no configuration needed -->
|
|
|
|
<!-- Timers -->
|
|
|
|
<!-- no configuration needed -->
|
|
|
|
|
|
|
|
<!-- Languages -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="spidermonkey.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- none for mod_perl -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="java.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- ASR /TTS -->
|
|
|
|
<!-- none for mod_cepstral -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="rss.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="mod_openmrcp.conf.xml"/>
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Say -->
|
|
|
|
<!-- none for mod_say_en -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="mod_cdr.conf.xml"/>
|
|
|
|
<X-PRE-PROCESS cmd="include" data="mod_local_stream.conf.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-10-15 14:02:21 -04:00
|
|
|
<language name="en" sound-path="/snds" tts-engine="cepstral" tts-voice="david">
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="lang_en.xml"/>
|
2007-10-11 23:28:59 -04:00
|
|
|
<!--voicemail_en_tts is purely implemented with tts, we need a files based implementation too -->
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="voicemail_en_tts.xml"/>
|
2006-12-20 16:25:14 -05:00
|
|
|
</language>
|
|
|
|
<language name="fr" sound_path="/var/sounds/lang/fr/jean" tts_engine="cepstral" tts_voice="jean-pierre">
|
2007-11-14 15:29:19 -05:00
|
|
|
<X-PRE-PROCESS cmd="include" data="lang_fr.xml"/>
|
2006-12-20 16:25:14 -05:00
|
|
|
</language>
|
|
|
|
</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
|
|
|
|