From: Joshua Colp Date: Mon, 11 Feb 2008 22:09:07 +0000 (+0000) Subject: If entering a conference with the 'w' option ensure that we can't listen or speak... X-Git-Tag: 1.4.19~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b110bb5e8431a2df5021c6e5c0695828628c489;p=thirdparty%2Fasterisk.git 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/branches/1.4@103324 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 9ab8db54e1..ad547e5099 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1658,7 +1658,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;