[commit] r6694 - in freeswitch/trunk/conf: autoload_configs jingle_profiles
Author: brian Date: Tue Dec 11 22:12:43 2007 New Revision: 6694 Added: freeswitch/trunk/conf/jingle_profiles/client.noload freeswitch/trunk/conf/jingle_profiles/client.xml freeswitch/trunk/conf/jingle_profiles/server.noload freeswitch/trunk/conf/jingle_profiles/server.xml Modified: freeswitch/trunk/conf/autoload_configs/dingaling.conf.xml Log: break out jingle profiles Modified: freeswitch/trunk/conf/autoload_configs/dingaling.conf.xml ============================================================================== --- freeswitch/trunk/conf/autoload_configs/dingaling.conf.xml (original) +++ freeswitch/trunk/conf/autoload_configs/dingaling.conf.xml Tue Dec 11 22:12:43 2007 @@ -4,53 +4,6 @@ <param name="codec-prefs" value="PCMU"/> </settings> - <!-- *NOTE* change <x-profile></x-profile> to <profile></profile> to enable --> - - <!-- Client Profile (Original mode) --> - <x-profile type="client"> - <param name="name" value="$${xmpp_client_profile}"/> - <param name="login" value="myjid@myserver.com/talk"/> - <param name="password" value="mypass"/> - <param name="dialplan" value="XML"/> - <param name="context" value="public"/> - <param name="message" value="Jingle all the way"/> - <param name="rtp-ip" value="$${bind_server_ip}"/> - <!-- <param name="ext-rtp-ip" value="$${external_rtp_ip"/> --> - <param name="auto-login" value="true"/> - <!-- SASL "plain" or "md5" --> - <param name="sasl" value="plain"/> - <!-- if the server where the jabber is hosted is not the same as the one in the jid --> - <!--<param name="server" value="alternate.server.com"/>--> - <!-- Enable TLS or not --> - <param name="tls" value="true"/> - <!-- disable to trade async for more calls --> - <param name="use-rtp-timer" value="true"/> - <!-- default extension (if one cannot be determined) --> - <param name="exten" value="888"/> - <!-- VAD choose one --> - <!-- <param name="vad" value="in"/> --> - <!-- <param name="vad" value="out"/> --> - <param name="vad" value="both"/> - <!--<param name="avatar" value="/path/to/tiny.jpg"/>--> - </x-profile> - - <!-- Component (Server to Server Login) --> - <x-profile type="component"> - <param name="name" value="$${xmpp_server_profile}"/> - <param name="password" value="secret"/> - <param name="dialplan" value="XML"/> - <param name="context" value="public"/> - <param name="rtp-ip" value="$${bind_server_ip}"/> - <param name="server" value="jabber.server.org:5347"/> - <!-- disable to trade async for more calls --> - <param name="use-rtp-timer" value="true"/> - <!-- "_auto_" means the extension will be automaticly set to the called jid --> - <param name="exten" value="_auto_"/> - <!--<param name="vad" value="both"/>--> - <!--<param name="avatar" value="/path/to/tiny.jpg"/>--> - <!--If you have ODBC support and a working dsn you can use it instead of SQLite--> - <!--<param name="odbc-dsn" value="dsn:user:pass"/>--> - - </x-profile> + <X-PRE-PROCESS cmd="include" data="../jingle_profiles/*.xml"/> </configuration> Added: freeswitch/trunk/conf/jingle_profiles/client.noload ============================================================================== --- (empty file) +++ freeswitch/trunk/conf/jingle_profiles/client.noload Tue Dec 11 22:12:43 2007 @@ -0,0 +1,29 @@ +<include> + <!-- Client Profile (Original mode) --> + <profile type="client"> + <param name="name" value="%JABBERCLIENTNAME%"/> + <param name="login" value="%JABBERLOGIN%/%JABBERRESOURCE%"/> + <param name="password" value="%JABBERPASSWORD%"/> + <param name="dialplan" value="XML"/> + <param name="context" value="public"/> + <param name="message" value="Jingle all the way"/> + <param name="rtp-ip" value="$${bind_server_ip}"/> + <!-- <param name="ext-rtp-ip" value="$${external_rtp_ip"/> --> + <param name="auto-login" value="true"/> + <!-- SASL "plain" or "md5" --> + <param name="sasl" value="plain"/> + <!-- if the server where the jabber is hosted is not the same as the one in the jid --> + <!--<param name="server" value="alternate.server.com"/>--> + <!-- Enable TLS or not --> + <param name="tls" value="true"/> + <!-- disable to trade async for more calls --> + <param name="use-rtp-timer" value="true"/> + <!-- default extension (if one cannot be determined) --> + <param name="exten" value="888"/> + <!-- VAD choose one --> + <!-- <param name="vad" value="in"/> --> + <!-- <param name="vad" value="out"/> --> + <param name="vad" value="both"/> + <!--<param name="avatar" value="%JABBERAVATAR%"/>--> + </profile> +</include> Added: freeswitch/trunk/conf/jingle_profiles/client.xml ============================================================================== --- (empty file) +++ freeswitch/trunk/conf/jingle_profiles/client.xml Tue Dec 11 22:12:43 2007 @@ -0,0 +1,29 @@ +<include> + <!-- Client Profile (Original mode) --> + <x-profile type="client"> + <param name="name" value="$${xmpp_client_profile}"/> + <param name="login" value="myjid@myserver.com/talk"/> + <param name="password" value="mypass"/> + <param name="dialplan" value="XML"/> + <param name="context" value="public"/> + <param name="message" value="Jingle all the way"/> + <param name="rtp-ip" value="$${bind_server_ip}"/> + <!-- <param name="ext-rtp-ip" value="$${external_rtp_ip"/> --> + <param name="auto-login" value="true"/> + <!-- SASL "plain" or "md5" --> + <param name="sasl" value="plain"/> + <!-- if the server where the jabber is hosted is not the same as the one in the jid --> + <!--<param name="server" value="alternate.server.com"/>--> + <!-- Enable TLS or not --> + <param name="tls" value="true"/> + <!-- disable to trade async for more calls --> + <param name="use-rtp-timer" value="true"/> + <!-- default extension (if one cannot be determined) --> + <param name="exten" value="888"/> + <!-- VAD choose one --> + <!-- <param name="vad" value="in"/> --> + <!-- <param name="vad" value="out"/> --> + <param name="vad" value="both"/> + <!--<param name="avatar" value="/path/to/tiny.jpg"/>--> + </x-profile> +</include> Added: freeswitch/trunk/conf/jingle_profiles/server.noload ============================================================================== --- (empty file) +++ freeswitch/trunk/conf/jingle_profiles/server.noload Tue Dec 11 22:12:43 2007 @@ -0,0 +1,19 @@ +<include> + <!-- Component (Server to Server Login) --> + <profile type="component"> + <param name="name" value="%JABBERPROFILENAME%"/> + <param name="password" value="secret"/> + <param name="dialplan" value="XML"/> + <param name="context" value="public"/> + <param name="rtp-ip" value="$${bind_server_ip}"/> + <param name="server" value="%JABBERSERVER%:%JABBERPORT%"/> + <!-- disable to trade async for more calls --> + <param name="use-rtp-timer" value="true"/> + <!-- "_auto_" means the extension will be automaticly set to the called jid --> + <param name="exten" value="_auto_"/> + <!--<param name="vad" value="both"/>--> + <!--<param name="avatar" value="%JABBERAVATAR%%"/>--> + <!--If you have ODBC support and a working dsn you can use it instead of SQLite--> + <!--<param name="odbc-dsn" value="dsn:user:pass"/>--> + </profile> +</include> Added: freeswitch/trunk/conf/jingle_profiles/server.xml ============================================================================== --- (empty file) +++ freeswitch/trunk/conf/jingle_profiles/server.xml Tue Dec 11 22:12:43 2007 @@ -0,0 +1,19 @@ +<include> + <!-- Component (Server to Server Login) --> + <x-profile type="component"> + <param name="name" value="$${xmpp_server_profile}"/> + <param name="password" value="secret"/> + <param name="dialplan" value="XML"/> + <param name="context" value="public"/> + <param name="rtp-ip" value="$${bind_server_ip}"/> + <param name="server" value="jabber.server.org:5347"/> + <!-- disable to trade async for more calls --> + <param name="use-rtp-timer" value="true"/> + <!-- "_auto_" means the extension will be automaticly set to the called jid --> + <param name="exten" value="_auto_"/> + <!--<param name="vad" value="both"/>--> + <!--<param name="avatar" value="/path/to/tiny.jpg"/>--> + <!--If you have ODBC support and a working dsn you can use it instead of SQLite--> + <!--<param name="odbc-dsn" value="dsn:user:pass"/>--> + </x-profile> +</include>
participants (1)
-
Freeswitch SVN