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-01-24 15:28:54 -05:00
|
|
|
The preprocessor will compile the full xml document to ${prefix}/log/freeswitch.registry
|
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-04-28 15:27:17 -04:00
|
|
|
<!-- Preprocessor Variables
|
|
|
|
These are introduced when configuration strings must be consistent across modules.
|
|
|
|
-->
|
|
|
|
<!-- sip_profile
|
|
|
|
Must be a domain name if you are being a registry server; otherwise
|
|
|
|
can be any string.
|
|
|
|
used by: sofia.conf.xml enum.conf.xml default_context.xml directory.xml
|
|
|
|
-->
|
2007-10-16 19:19:31 -04:00
|
|
|
<!--#set "domain=mydomain.com"-->
|
|
|
|
<!--#set "sip_profile=$${domain}"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- xmpp_client_profile and xmpp_server_profile
|
|
|
|
xmpp_client_profile can be any string.
|
|
|
|
xmpp_server_profile is appended to "dingaling_" to form the database name
|
|
|
|
containing the "subscriptions" table.
|
|
|
|
used by: dingaling.conf.xml enum.conf.xml
|
|
|
|
-->
|
2007-05-01 15:20:48 -04:00
|
|
|
<!--#set "global_codec_prefs=PCMU@20i"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
<!--#set "xmpp_client_profile=xmppc"-->
|
|
|
|
<!--#set "xmpp_server_profile=xmpps"-->
|
|
|
|
<!-- bind_server_ip
|
|
|
|
Can be an ip address, a dns name, or "auto".
|
|
|
|
This determines an ip address available on this host to bind.
|
|
|
|
If you are separating RTP and SIP traffic, you will want to have
|
|
|
|
use different addresses where this variable appears.
|
|
|
|
Used by: sofia.conf.xml dingaling.conf.xml
|
|
|
|
-->
|
|
|
|
<!--#set "bind_server_ip=auto"-->
|
|
|
|
<!-- external_rtp_ip
|
|
|
|
Used as the public IP address for SDP.
|
|
|
|
Can be an ip address or a string like "stun:stun.server.com"
|
|
|
|
If unspecified, the bind_server_ip value is used.
|
|
|
|
Used by: sofia.conf.xml dingaling.conf.xml
|
|
|
|
-->
|
|
|
|
<!--#set "external_rtp_ip=stun:stun.server.com"-->
|
|
|
|
<!-- server_name
|
|
|
|
A public ip address or DNS name that is used when advertising conference
|
|
|
|
presence or registering sip.
|
|
|
|
Used by: conference.conf.xml
|
|
|
|
-->
|
|
|
|
<!-- outbound_caller_id and outbound_caller_name
|
|
|
|
The caller ID telephone number we should use when calling out.
|
|
|
|
Used by: conference.conf.xml
|
|
|
|
-->
|
|
|
|
<!--#set "outbound_caller_name=FreeSWITCH"-->
|
|
|
|
<!--#set "outbound_caller_id=8777423583"-->
|
|
|
|
|
2006-05-12 15:28:21 -04:00
|
|
|
<section name="configuration" description="Various Configuration">
|
2007-01-22 20:12:47 -05:00
|
|
|
<!--#include "switch.conf.xml"-->
|
|
|
|
<!--#include "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 -->
|
|
|
|
<!--#include "console.conf.xml"-->
|
|
|
|
<!--#include "syslog.conf.xml"-->
|
|
|
|
|
|
|
|
<!-- Multi-Faceted -->
|
|
|
|
<!--#include "enum.conf.xml"-->
|
|
|
|
|
|
|
|
<!-- XML Interfaces -->
|
|
|
|
<!--#include "xml_rpc.conf.xml"-->
|
2007-06-24 15:57:24 -04:00
|
|
|
<!--#include "xml_cdr.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
<!--#include "xml_curl.conf.xml"-->
|
|
|
|
<!-- none for mod_xml_cdr -->
|
|
|
|
|
|
|
|
<!-- Event Handlers -->
|
|
|
|
<!--#include "cdr.conf.xml"-->
|
2007-01-22 20:12:47 -05:00
|
|
|
<!--#include "event_multicast.conf.xml"-->
|
|
|
|
<!--#include "event_socket.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
<!--#include "xmpp_event.conf.xml"-->
|
|
|
|
<!--#include "zeroconf.conf.xml"-->
|
|
|
|
|
|
|
|
<!-- Directory Interfaces -->
|
|
|
|
<!-- none for mod_ldap; dialplan_directory.conf.xml has ldap connection info -->
|
|
|
|
|
|
|
|
<!-- Endpoints -->
|
|
|
|
<!--#include "dingaling.conf.xml"-->
|
2007-01-22 20:12:47 -05:00
|
|
|
<!--#include "iax.conf.xml"-->
|
|
|
|
<!--#include "portaudio.conf.xml"-->
|
2007-04-26 18:15:07 -04:00
|
|
|
<!--#include "alsa.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
<!--#include "sofia.conf.xml"-->
|
|
|
|
<!--#include "wanpipe.conf.xml"-->
|
|
|
|
<!--#include "woomera.conf.xml"-->
|
|
|
|
|
|
|
|
<!-- Applications -->
|
|
|
|
<!-- none for mod_bridgecall, mod_commands, mod_echo, mod_park, mod_playback -->
|
2007-01-22 20:12:47 -05:00
|
|
|
<!--#include "conference.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
<!-- ivr.conf is used by mod_dptools -->
|
2007-01-22 20:12:47 -05:00
|
|
|
<!--#include "ivr.conf.xml"-->
|
2007-10-11 23:28:59 -04:00
|
|
|
<!--#include "voicemail.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Dialplan Interfaces -->
|
|
|
|
<!--#include "dialplan_directory.conf.xml"-->
|
|
|
|
<!-- 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 -->
|
|
|
|
<!--#include "spidermonkey.conf.xml"-->
|
|
|
|
<!-- none for mod_perl -->
|
2007-09-25 09:21:17 -04:00
|
|
|
<!--#include "java.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- ASR /TTS -->
|
|
|
|
<!-- none for mod_cepstral -->
|
|
|
|
<!--#include "rss.conf.xml"-->
|
2007-08-20 11:53:04 -04:00
|
|
|
<!--#include "mod_openmrcp.conf.xml"-->
|
2007-04-28 15:27:17 -04:00
|
|
|
|
|
|
|
<!-- Say -->
|
|
|
|
<!-- none for mod_say_en -->
|
2007-04-06 04:55:37 -04:00
|
|
|
<!--#include "mod_cdr.conf.xml"-->
|
2007-06-24 19:09:28 -04:00
|
|
|
<!--#include "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-01-22 20:12:47 -05:00
|
|
|
<!--#include "default_context.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-01-22 20:12:47 -05:00
|
|
|
<!--#include "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-01-22 20:12:47 -05:00
|
|
|
<!--#include "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 -->
|
|
|
|
<!--#include "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-01-22 20:12:47 -05:00
|
|
|
<!--#include "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
|
|
|
|