From: Russell Bryant Date: Fri, 4 Nov 2005 05:44:06 +0000 (+0000) Subject: add a couple missing queue_log entries (issue #5422) X-Git-Tag: 1.0.11.1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9f2f65435f8f6f2101b4e267b8f93111390e95;p=thirdparty%2Fasterisk.git add a couple missing queue_log entries (issue #5422) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6959 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index a629bdd6a1..221a1986d4 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1683,6 +1683,7 @@ check_turns: /* Leave if we have exceeded our queuetimeout */ if (qe.queuetimeout && ( (time(NULL) - qe.start) >= qe.queuetimeout) ) { res = 0; + ast_queue_log(queuename, chan->uniqueid, "NONE", "EXITWITHTIMEOUT", "%d", qe.pos); break; } @@ -1710,6 +1711,7 @@ check_turns: /* Leave if we have exceeded our queuetimeout */ if (qe.queuetimeout && ( (time(NULL) - qe.start) >= qe.queuetimeout) ) { res = 0; + ast_queue_log(queuename, chan->uniqueid, "NONE", "EXITWITHTIMEOUT", "%d", qe.pos); break; }