]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Clarify a message that app_queue prints and change to a debug-level message
authorMark Michelson <mmichelson@digium.com>
Tue, 13 Jan 2009 22:30:59 +0000 (22:30 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 13 Jan 2009 22:30:59 +0000 (22:30 +0000)
The "No one is answering..." verbose message contained 3 numbers that were not
explained in any way to whoever was viewing the message. It is more helpful now
since the message explains what the numbers mean. Also, the message has been
downgraded to "DEBUG" level.

(closes issue #14172)
Reported by: caio1982
Patches:
      queue_answering_debug.diff uploaded by caio1982 (license 22)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168579 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 0ce20174a72def91d18af082a56efd9360769947..8a4a0e678c19dd1c832583cb2ee9762ed9b66f24 100644 (file)
@@ -2761,7 +2761,7 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
                        if (numlines == (numbusies + numnochan)) {
                                ast_debug(1, "Everyone is busy at this time\n");
                        } else {
-                               ast_log(LOG_NOTICE, "No one is answering queue '%s' (%d/%d/%d)\n", queue, numlines, numbusies, numnochan);
+                               ast_debug(3, "No one is answering queue '%s' (%d numlines / %d busies / %d failed channels)\n", queue, numlines, numbusies, numnochan);
                        }
                        *to = 0;
                        return NULL;