Without this patch, if the user was kicked from the conference via the S() or L()
mechanism, we would just hang up on them even if we also passed C (continue in
dialplan when kicked). With this patch we honor the C flag in those cases.
(closes issue #17317)
Reported by: var
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@304773
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
}
if (user->kicktime && (user->kicktime <= now.tv_sec)) {
+ if (confflags & CONFFLAG_KICK_CONTINUE) {
+ ret = 0;
+ } else {
+ ret = -1;
+ }
break;
}
now = ast_tvnow();
if (timeout && now.tv_sec >= timeout) {
+ if (confflags & CONFFLAG_KICK_CONTINUE) {
+ ret = 0;
+ } else {
+ ret = -1;
+ }
break;
}