[Asterisk-code-review] app_meetme: Don't mute joining admins if	conference is muted (...asterisk[13])
    Sean Bright 
    asteriskteam at digium.com
       
    Fri Mar  8 10:40:04 CST 2019
    
    
  
Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/11117
Change subject: app_meetme: Don't mute joining admins if conference is muted
......................................................................
app_meetme: Don't mute joining admins if conference is muted
ASTERISK-28328 #close
Change-Id: I4f6069fb34923b7521520c2a205a1e56227e592b
---
M apps/app_meetme.c
1 file changed, 3 insertions(+), 1 deletion(-)
  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/17/11117/1
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index d8493d0..28f1576 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -3433,7 +3433,9 @@
 	user->chan = chan;
 	user->userflags = *confflags;
 	user->adminflags = ast_test_flag64(confflags, CONFFLAG_STARTMUTED) ? ADMINFLAG_SELFMUTED : 0;
-	user->adminflags |= (conf->gmuted) ? ADMINFLAG_MUTED : 0;
+	if (!ast_test_flag64(confflags, CONFFLAG_ADMIN)) {
+		user->adminflags |= (conf->gmuted) ? ADMINFLAG_MUTED : 0;
+	}
 	user->talking = -1;
 
 	ast_mutex_unlock(&conf->playlock);
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/11117
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: I4f6069fb34923b7521520c2a205a1e56227e592b
Gerrit-Change-Number: 11117
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190308/946993ac/attachment.html>
    
    
More information about the asterisk-code-review
mailing list