Merged revisions 103324 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 11 Feb 2008 22:10:55 +0000 (22:10 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 11 Feb 2008 22:10:55 +0000 (22:10 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103324 | file | 2008-02-11 18:09:07 -0400 (Mon, 11 Feb 2008) | 4 lines

If entering a conference with the 'w' option ensure that we can't listen or speak until the marked user appears.
(closes issue #11835)
Reported by: alanmcmillan

........

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

apps/app_meetme.c

index 3cc5b55..41c9950 100644 (file)
@@ -1876,7 +1876,9 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c
                }
        }
 
                }
        }
 
-       if (confflags & CONFFLAG_MONITOR)
+       if (confflags & CONFFLAG_WAITMARKED)
+               ztc.confmode = ZT_CONF_CONF;
+       else if (confflags & CONFFLAG_MONITOR)
                ztc.confmode = ZT_CONF_CONFMON | ZT_CONF_LISTENER;
        else if (confflags & CONFFLAG_TALKER)
                ztc.confmode = ZT_CONF_CONF | ZT_CONF_TALKER;
                ztc.confmode = ZT_CONF_CONFMON | ZT_CONF_LISTENER;
        else if (confflags & CONFFLAG_TALKER)
                ztc.confmode = ZT_CONF_CONF | ZT_CONF_TALKER;