Solved problem where talker hears himself when
authorMatt O'Gorman <mogorman@digium.com>
Wed, 22 Feb 2006 21:40:00 +0000 (21:40 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Wed, 22 Feb 2006 21:40:00 +0000 (21:40 +0000)
talk optimization is on in app_meetme.
bug #6266

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10785 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index efe0572..dfdabb7 100644 (file)
@@ -1558,7 +1558,7 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
                                        if (!user->listen.actual && 
                                                ((confflags & CONFFLAG_MONITOR) || 
                                                 (user->adminflags & ADMINFLAG_MUTED) ||
-                                                (user->talking && (confflags & CONFFLAG_OPTIMIZETALKER))
+                                                (!user->talking && (confflags & CONFFLAG_OPTIMIZETALKER))
                                                 )) {
                                                int index;
                                                for (index=0;index<AST_FRAME_BITS;index++)