diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-27 22:45:49 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-27 22:45:49 +0000 |
commit | d5e57108889bd69612e155f333e790818c9c4f70 (patch) | |
tree | e48ef24470daf3d2adc6e4069c1147d892f5c479 | |
parent | 7b479943aed8fdfa81349792defb1dccd0b72e0f (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@72328 f38db490-d61c-443f-a65b-d21fe96a405b
-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 54400bd6a..5635d5275 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -3472,6 +3472,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; } @@ -3480,6 +3481,7 @@ check_turns: if ((qe.parent->leavewhenempty == QUEUE_EMPTY_STRICT) && (stat == QUEUE_NO_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; } |