[Freeswitch-svn] [commit] r9258 - freeswitch/trunk/src/mod/applications/mod_conference

Freeswitch SVN anthm at freeswitch.org
Tue Aug 12 11:34:26 EDT 2008


Author: anthm
Date: Tue Aug 12 11:34:25 2008
New Revision: 9258

Modified:
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c

Log:
perpetual sound does not auto-mute, you can do that yourself if you want it 

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Tue Aug 12 11:34:25 2008
@@ -5026,11 +5026,10 @@
 
 	if (!switch_strlen_zero(perpetual_sound)) {
 		conference->perpetual_sound = switch_core_strdup(conference->pool, perpetual_sound);
-		conference->mflags = MFLAG_CAN_HEAR;
-	} else {
-		conference->mflags = MFLAG_CAN_SPEAK | MFLAG_CAN_HEAR;
 	}
 
+	conference->mflags = MFLAG_CAN_SPEAK | MFLAG_CAN_HEAR;
+	
 	if (!switch_strlen_zero(moh_sound) && switch_is_moh(moh_sound)) {
 		conference->moh_sound = switch_core_strdup(conference->pool, moh_sound);
 	}



More information about the Freeswitch-svn mailing list