diff options
author | Joshua Colp <jcolp@digium.com> | 2007-06-27 22:48:15 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-06-27 22:48:15 +0000 |
commit | 7b60d29f686e17b8584a0ab981b86ad1342984e9 (patch) | |
tree | ce1931675de0a10d24e1f69e3c920c34f23f131b | |
parent | 5310385315c87b2ed83e41a95829af6ac308b41e (diff) |
Merged revisions 72328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r72328 | file | 2007-06-27 18:45:49 -0400 (Wed, 27 Jun 2007) | 10 lines
Merged revisions 72327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines
Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 51b83970c..85f1b6efe 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3639,6 +3639,7 @@ check_turns: if (qe.parent->leavewhenempty && (stat == QUEUE_NO_MEMBERS)) { record_abandoned(&qe); reason = QUEUE_LEAVEEMPTY; + ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%ld", qe.pos, qe.opos, (long)(time(NULL) - qe.start)); res = 0; break; } @@ -3647,6 +3648,7 @@ check_turns: if ((qe.parent->leavewhenempty == QUEUE_EMPTY_STRICT) && (stat == QUEUE_NO_REACHABLE_MEMBERS || stat == QUEUE_NO_UNPAUSED_REACHABLE_MEMBERS)) { record_abandoned(&qe); reason = QUEUE_LEAVEUNAVAIL; + ast_queue_log(args.queuename, chan->uniqueid, "NONE", "EXITEMPTY", "%d|%d|%ld", qe.pos, qe.opos, (long)(time(NULL) - qe.start)); res = 0; break; } |