Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad...
authorBJ Weschke <bweschke@btwtech.com>
Wed, 3 May 2006 20:14:54 +0000 (20:14 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Wed, 3 May 2006 20:14:54 +0000 (20:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24564 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c
doc/queuelog.txt

index 5beb4b5..5aec6b9 100644 (file)
@@ -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)
index e4dc66e..72cc7c2 100644 (file)
@@ -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.