[Freeswitch-svn] [commit] r6687 - in freeswitch/trunk/conf: . autoload_configs dialplan

Freeswitch SVN brian at freeswitch.org
Tue Dec 11 18:53:13 EST 2007


Author: brian
Date: Tue Dec 11 18:53:13 2007
New Revision: 6687

Modified:
   freeswitch/trunk/conf/autoload_configs/modules.conf.xml
   freeswitch/trunk/conf/dialplan/default.xml
   freeswitch/trunk/conf/vars.xml

Log:
I can't stress this enough.

make sounds-music-8000-install 
make sounds-music-16000-install 

and yet again 

make sounds-music-8000-install 
make sounds-music-16000-install 

Just for those not paying attention. :)

Send comments to me if you would like something changed or added to the default config.

/b
PS: 16k hold music is awesome.



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 18:53:13 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/dialplan/default.xml
==============================================================================
--- freeswitch/trunk/conf/dialplan/default.xml	(original)
+++ freeswitch/trunk/conf/dialplan/default.xml	Tue Dec 11 18:53:13 2007
@@ -147,19 +147,6 @@
       </condition>
     </extension>
     
-    <!--
-	if the number starts with a *393 then strip the *393 
-	and dial the remainder of the number out our "fwd" gateway
-    -->
-    <extension name="FWD">
-      <condition field="destination_number" expression="^\*393([\*\d]+)$">
-	<!-- Just incase they are using Asterisk let's disable VAD and only use G.711 -->
-	<action application="export" data="rtp_disable_vad_out=true"/>
-	<action application="export" data="absolute_codec_string=PCMU at 20i,PCMA at 20i"/>
-	<action application="bridge" data="sofia/gateway/fwd/$1"/>
-      </condition>
-    </extension> 
-    
     <!-- a sample IVR  -->
     <extension name="IVR_Demo">
       <condition field="destination_number" expression="5000">
@@ -194,6 +181,12 @@
     </extension>
     -->
 
+    <extension name="hold_music">
+      <condition field="destination_number" expression="^9999$">
+	<action application="answer"/>
+	<action application="playback" data="local_stream://moh_${read_rate}"/>
+      </condition>
+    </extension>
 
     <X-PRE-PROCESS cmd="include" data="extensions/*.xml"/>
 

Modified: freeswitch/trunk/conf/vars.xml
==============================================================================
--- freeswitch/trunk/conf/vars.xml	(original)
+++ freeswitch/trunk/conf/vars.xml	Tue Dec 11 18:53:13 2007
@@ -15,7 +15,7 @@
        containing the "subscriptions" table.
        used by: dingaling.conf.xml enum.conf.xml 
   --> 
-  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU at 20i,PCMA at 20i"/>
+  <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G722,PCMU at 20i,PCMA at 20i"/>
   <X-PRE-PROCESS cmd="set" data="xmpp_client_profile=xmppc"/>
   <X-PRE-PROCESS cmd="set" data="xmpp_server_profile=xmpps"/>
   <!-- bind_server_ip



More information about the Freeswitch-svn mailing list