diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 8c4886066f..99511c8a9d 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -9278,8 +9278,10 @@ SWITCH_STANDARD_APP(conference_function) if (flags_str) { set_mflags(flags_str,&mflags); - if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) { - switch_core_media_hard_mute(session, SWITCH_TRUE); + if (!(mflags & MFLAG_CAN_SPEAK)) { + if (!(mflags & MFLAG_INDICATE_MUTE)) { + switch_core_media_hard_mute(session, SWITCH_TRUE); + } } if (mflags & MFLAG_JOIN_ONLY) { @@ -9579,8 +9581,10 @@ SWITCH_STANDARD_APP(conference_function) set_mflags(flags_str, &mflags); mflags |= MFLAG_RUNNING; - if (!((mflags & MFLAG_CAN_SPEAK) && (mflags & MFLAG_INDICATE_MUTE))) { - switch_core_media_hard_mute(member.session, SWITCH_TRUE); + if (!(mflags & MFLAG_CAN_SPEAK)) { + if (!(mflags & MFLAG_INDICATE_MUTE)) { + switch_core_media_hard_mute(member.session, SWITCH_TRUE); + } } if (mpin_matched) {