<?xml version="1.0"?> <document type="freeswitch/xml"> <!--#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 The preprocessor will compile the full xml document to ${prefix}/log/freeswitch.registry Don't modify it while freeswitch is running cos it is mem mapped in most cases =D --> <!--#set "domain=mydomain.com"--> <!--#set "subdomain=sub.mydomain.com"--> <!--#set "default_codecs=PCMU@20i"--> <!--my domain is $${domain}--> <section name="configuration" description="Various Configuration"> <!--#include "switch.conf.xml"--> <!--#include "modules.conf.xml"--> <!--#include "spidermonkey.conf.xml"--> <!--#include "event_multicast.conf.xml"--> <!--#include "event_socket.conf.xml"--> <!--#include "iax.conf.xml"--> <!--#include "console.conf.xml"--> <!--#include "sofia.conf.xml"--> <!--#include "syslog.conf.xml"--> <!--#include "woomera.conf.xml"--> <!--#include "wanpipe.conf.xml"--> <!--#include "portaudio.conf.xml"--> <!--#include "zeroconf.conf.xml"--> <!--#include "xmpp_event.conf.xml"--> <!--#include "dialplan_directory.conf.xml"--> <!--#include "dingaling.conf.xml"--> <!--#include "xml_curl.conf.xml"--> <!--#include "xml_rpc.conf.xml"--> <!--#include "rss.conf.xml"--> <!--#include "conference.conf.xml"--> <!--#include "enum.conf.xml"--> <!--#include "ivr.conf.xml"--> </section> <section name="dialplan" description="Regex/XML Dialplan"> <!--#include "default_context.xml"--> </section> <section name="directory" description="User Directory"> <!--#include "directory.xml"--> </section> <!-- phrases section (under development still) --> <section name="phrases" description="Speech Phrase Management"> <macros> <language name="en" sound_path="/snds" tts_engine="cepstral" tts_voice="david"> <!--#include "lang_en.xml"--> </language> <language name="fr" sound_path="/var/sounds/lang/fr/jean" tts_engine="cepstral" tts_voice="jean-pierre"> <!--#include "lang_fr.xml"--> </language> </macros> </section> </document>