dect
/
asterisk
Archived
13
0
Fork 0

Don't bother decode on muted participants

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7548 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2005-12-20 14:14:01 +00:00
parent be3c78074e
commit 74937e92ec
1 changed files with 3 additions and 3 deletions

View File

@ -1312,10 +1312,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
user->zapchannel = !retryzap;
goto zapretry;
}
if (!(confflags & CONFFLAG_MONITOR))
f = ast_read(c);
else
if ((confflags & CONFFLAG_MONITOR) || (user->adminflags & ADMINFLAG_MUTED))
f = ast_read_noaudio(c);
else
f = ast_read(c);
if (!f)
break;
if ((f->frametype == AST_FRAME_VOICE) && (f->subclass == AST_FORMAT_SLINEAR)) {