[asterisk-commits] file: branch 1.4 r72328 - in /branches/1.4: ./ apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 27 17:45:49 CDT 2007


Author: file
Date: Wed Jun 27 17:45:49 2007
New Revision: 72328

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72328
Log:
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)

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/apps/app_queue.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=72328&r1=72327&r2=72328
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Wed Jun 27 17:45:49 2007
@@ -3472,6 +3472,7 @@
 				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 @@
 				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;
 				}




More information about the asterisk-commits mailing list