From e82f5c21d17c54d617c8ee51af8ca5a53d84c9cd Mon Sep 17 00:00:00 2001
From: Fred Dixon <ffdixon@gmail.com>
Date: Tue, 31 May 2011 15:11:30 -0400
Subject: [PATCH] updates to freeswitch/conf for 0.8

---
 .../conf/autoload_configs/conference.conf.xml          |  2 +-
 .../config/freeswitch/conf/dialplan/public.xml         |  2 +-
 bbb-voice-conference/config/freeswitch/conf/vars.xml   | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/bbb-voice-conference/config/freeswitch/conf/autoload_configs/conference.conf.xml b/bbb-voice-conference/config/freeswitch/conf/autoload_configs/conference.conf.xml
index 75f7ca5fef..64be8e1f0f 100644
--- a/bbb-voice-conference/config/freeswitch/conf/autoload_configs/conference.conf.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/autoload_configs/conference.conf.xml
@@ -105,7 +105,7 @@
       <param name="domain" value="$${domain}"/>
       <param name="rate" value="16000"/>
       <param name="interval" value="20"/>
-      <param name="energy-level" value="300"/>
+      <param name="energy-level" value="50"/>
       <param name="member-flags" value="waste"/>
       <param name="sound-prefix" value="$${sounds_dir}/en/us/callie"/>
       <param name="muted-sound" value="conference/conf-muted.wav"/>
diff --git a/bbb-voice-conference/config/freeswitch/conf/dialplan/public.xml b/bbb-voice-conference/config/freeswitch/conf/dialplan/public.xml
index 81fd2e4742..d869401e4d 100644
--- a/bbb-voice-conference/config/freeswitch/conf/dialplan/public.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/dialplan/public.xml
@@ -46,7 +46,7 @@
     <!-- BBB testing -->
 
     <extension name="bbb_conferences">
-      <condition field="destination_number" expression="^(7\d{4})$">
+      <condition field="destination_number" expression="^(\d{5})$">
           <action application="answer"/>
           <action application="conference" data="$1@wideband"/>
           <!-- <action application="conference" data="$1@wideband"/> -->
diff --git a/bbb-voice-conference/config/freeswitch/conf/vars.xml b/bbb-voice-conference/config/freeswitch/conf/vars.xml
index 3cce8b9a98..f08e84499d 100644
--- a/bbb-voice-conference/config/freeswitch/conf/vars.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/vars.xml
@@ -124,11 +124,11 @@
 
   -->
 
-        <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,G722,PCMA,GSM"/>
-        <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,G722,PCMA,GSM"/>
-	<!-- BigBlueButton: To use speex, change the above two lines with data set to these values. 
-             data="global_codec_prefs=speex@16000h@20i,speex@8000h@20i,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"
-             data="outbound_codec_prefs=speex@16000h@20i,PCMU,PCMA,GSM"
+        <X-PRE-PROCESS cmd="set" data="global_codec_prefs=speex@16000h@20i,speex@8000h@20i,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM" />
+        <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=speex@16000h@20i,PCMU,PCMA,GSM" />
+	<!-- BigBlueButton: To use mlaw , change the above two lines with data set to these values. 
+		data="global_codec_prefs=PCMU,G722,PCMA,GSM"
+		data="outbound_codec_prefs=PCMU,G722,PCMA,GSM"
 	-->
 
   <!--
-- 
GitLab