From 548875791762a1abe931af285e288c1a10daa25d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 28 Oct 2014 15:01:02 -0500 Subject: [PATCH] FS-6950 #resolve --- src/mod/applications/mod_conference/mod_conference.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index dbcab987c8..4fbce0152a 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2822,6 +2822,10 @@ static switch_status_t conference_del_member(conference_obj_t *conference, confe gen_arc(conference, NULL); } + if (member->session) { + switch_core_media_hard_mute(member->session, SWITCH_FALSE); + } + switch_mutex_unlock(conference->mutex); status = SWITCH_STATUS_SUCCESS; @@ -9574,6 +9578,11 @@ SWITCH_STANDARD_APP(conference_function) mflags = conference->mflags; 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 (mpin_matched) { mflags |= MFLAG_MOD; }