diff options
author | BJ Weschke <bweschke@btwtech.com> | 2006-05-03 20:14:54 +0000 |
---|---|---|
committer | BJ Weschke <bweschke@btwtech.com> | 2006-05-03 20:14:54 +0000 |
commit | ebb7eee9cea3ab57aa7b9840dcf7579587e6f0fc (patch) | |
tree | 0d00a51169929121f9dee0f1a1d998caf491b78b | |
parent | 7b3f3db65d90b4848d27a0806e43303403ed6a59 (diff) |
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
-rw-r--r-- | apps/app_queue.c | 1 | ||||
-rw-r--r-- | doc/queuelog.txt | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 5beb4b5fd..5aec6b934 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 e4dc66efb..72cc7c2f7 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. |