Cleanup side effect sof meetme changes (bug #3815)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Mark Spencer 21 years ago
parent c6822b3fb1
commit 8085c618c0

@ -964,7 +964,7 @@ zapretry:
}
/* trying to add moh for single person conf */
if ((confflags & CONFFLAG_MOH) && !( confflags & CONFFLAG_WAITMARKED)) {
if (confflags & CONFFLAG_MOH) {
if (conf->users == 1) {
if (musiconhold == 0) {
ast_moh_start(chan, NULL);
@ -979,7 +979,7 @@ zapretry:
}
/* Leave if the last marked user left */
if (currentmarked == 0 && (confflags & CONFFLAG_MARKEDEXIT)) {
if (currentmarked == 0 && lastmarked != 0 && (confflags & CONFFLAG_MARKEDEXIT)) {
ret = -1;
break;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save