]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
perpetual sound does not auto-mute, you can do that yourself if you want it
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 12 Aug 2008 15:34:25 +0000 (15:34 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 12 Aug 2008 15:34:25 +0000 (15:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9258 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index 82bf9a5da9df0eb6163d6570d8d14bb0f77cec75..4029d989201281f7d96dc206d2ec0f66cc629c72 100644 (file)
@@ -5026,11 +5026,10 @@ static conference_obj_t *conference_new(char *name, conf_xml_cfg_t cfg, switch_m
 
        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);
        }