[Freeswitch-trunk] [commit] r6659 - in freeswitch/trunk/conf: autoload_configs sip_profiles

Freeswitch SVN brian at freeswitch.org
Tue Dec 11 14:17:16 EST 2007


Author: brian
Date: Tue Dec 11 14:17:16 2007
New Revision: 6659

Modified:
   freeswitch/trunk/conf/autoload_configs/local_stream.conf.xml
   freeswitch/trunk/conf/autoload_configs/modules.conf.xml
   freeswitch/trunk/conf/sip_profiles/default.xml
   freeswitch/trunk/conf/sip_profiles/nat.xml
   freeswitch/trunk/conf/sip_profiles/outbound.xml

Log:
prep work.

Modified: freeswitch/trunk/conf/autoload_configs/local_stream.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/local_stream.conf.xml	(original)
+++ freeswitch/trunk/conf/autoload_configs/local_stream.conf.xml	Tue Dec 11 14:17:16 2007
@@ -1,5 +1,5 @@
 <configuration name="local_stream.conf" description="stream files from local dir">
-<directory name="foo" path="/path/to/moh/files">
+<directory name="demo_moh" path="$${base_dir}/sounds/moh">
   <param name="rate" value="8000"/>
   <param name="channels" value="1"/>
   <param name="interval" value="2"/>

Modified: freeswitch/trunk/conf/autoload_configs/modules.conf.xml
==============================================================================
--- freeswitch/trunk/conf/autoload_configs/modules.conf.xml	(original)
+++ freeswitch/trunk/conf/autoload_configs/modules.conf.xml	Tue Dec 11 14:17:16 2007
@@ -66,7 +66,7 @@
     <!--For icecast/mp3 streams/files-->
     <!--<load module="mod_shout"/>-->
     <!--For local streams (play all the files in a directory)-->
-    <!--<load module="mod_local_stream"/>-->
+    <load module="mod_local_stream"/>
 
     <!-- Timers -->
 

Modified: freeswitch/trunk/conf/sip_profiles/default.xml
==============================================================================
--- freeswitch/trunk/conf/sip_profiles/default.xml	(original)
+++ freeswitch/trunk/conf/sip_profiles/default.xml	Tue Dec 11 14:17:16 2007
@@ -25,6 +25,7 @@
     <param name="rtp-timer-name" value="soft"/>
     <param name="rtp-ip" value="$${local_ip_v4}"/>
     <param name="sip-ip" value="$${local_ip_v4}"/>
+    <param name="hold-music" value="local_stream://demo_moh"/>
     <!--enable to use presense and mwi -->
     <param name="manage-presence" value="true"/>
     <!--max number of open dialogs in proceeding -->

Modified: freeswitch/trunk/conf/sip_profiles/nat.xml
==============================================================================
--- freeswitch/trunk/conf/sip_profiles/nat.xml	(original)
+++ freeswitch/trunk/conf/sip_profiles/nat.xml	Tue Dec 11 14:17:16 2007
@@ -12,6 +12,7 @@
     <param name="dtmf-duration" value="100"/>
     <param name="codec-prefs" value="$${global_codec_prefs}"/>
     <param name="use-rtp-timer" value="true"/>
+    <param name="hold-music" value="local_stream://demo_moh"/>
     <param name="rtp-timer-name" value="soft"/>
     <param name="manage-presence" value="true"/>
     <param name="inbound-codec-negotiation" value="generous"/>

Modified: freeswitch/trunk/conf/sip_profiles/outbound.xml
==============================================================================
--- freeswitch/trunk/conf/sip_profiles/outbound.xml	(original)
+++ freeswitch/trunk/conf/sip_profiles/outbound.xml	Tue Dec 11 14:17:16 2007
@@ -16,6 +16,7 @@
     <param name="context" value="public"/>
     <param name="dtmf-duration" value="100"/>
     <param name="codec-prefs" value="$${global_codec_prefs}"/>
+    <param name="hold-music" value="local_stream://demo_moh"/>
     <param name="use-rtp-timer" value="true"/>
     <param name="rtp-timer-name" value="soft"/>
     <param name="manage-presence" value="true"/>



More information about the Freeswitch-trunk mailing list