From ebb7eee9cea3ab57aa7b9840dcf7579587e6f0fc Mon Sep 17 00:00:00 2001 From: BJ Weschke Date: Wed, 3 May 2006 20:14:54 +0000 Subject: [PATCH] Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad queue members. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24564 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 1 + doc/queuelog.txt | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/apps/app_queue.c b/apps/app_queue.c index 5beb4b5fd8..5aec6b9346 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1851,6 +1851,7 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte if (!*to) { if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "Nobody picked up in %d ms\n", orig); + ast_queue_log(qe->parent->name, qe->chan->uniqueid, on, "RINGNOANSWER", "%d", orig); if (qe->parent->autopause) { if (!set_member_paused(qe->parent->name, on, 1)) { if (option_verbose > 2) diff --git a/doc/queuelog.txt b/doc/queuelog.txt index e4dc66efba..72cc7c2f73 100644 --- a/doc/queuelog.txt +++ b/doc/queuelog.txt @@ -71,6 +71,11 @@ The caller was on hold too long and the timeout expired. QUEUESTART The queueing system has been started for the first time this session. +RINGNOANSWER(ringtime) +After trying for ringtime ms to connect to the available queue member, +the attempt ended without the member picking up the call. Bad queue +member! + SYSCOMPAT A call was answered by an agent, but the call was dropped because the channels were not compatible.