Revert broken portion of 3815 (bug #3816)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-03-21 03:23:05 +00:00
parent b0fa3b6450
commit 00ffb24b83

View File

@@ -964,7 +964,7 @@ zapretry:
}
/* trying to add moh for single person conf */
if (confflags & CONFFLAG_MOH) {
if ((confflags & CONFFLAG_MOH) && !(confflags & CONFFLAG_WAITMARKED)) {
if (conf->users == 1) {
if (musiconhold == 0) {
ast_moh_start(chan, NULL);