Fix beep logic error (bug #3888)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-03-29 06:34:50 +00:00
parent 6347ced74a
commit 9a019128c6

View File

@@ -844,7 +844,7 @@ zapretry:
if (!firstpass && !(confflags & CONFFLAG_MONITOR) && !(confflags & CONFFLAG_ADMIN)) {
firstpass = 1;
if (!(confflags & CONFFLAG_QUIET))
if ((confflags & CONFFLAG_WAITMARKED) && conf->markedusers >= 1)
if (!(confflags & CONFFLAG_WAITMARKED) || (conf->markedusers >= 1))
conf_play(chan, conf, ENTER);
}
conf_flush(fd);