app_meetme: Don't mute joining admins if conference is muted

ASTERISK-28328 #close

Change-Id: I4f6069fb34923b7521520c2a205a1e56227e592b
This commit is contained in:
Sean Bright
2019-03-07 18:15:05 -05:00
parent a32f525489
commit 57850c7861

View File

@@ -3430,7 +3430,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, struc
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);