[asterisk-commits] trunk r24564 - in /trunk: apps/app_queue.c doc/queuelog.txt

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed May 3 13:14:55 MST 2006


Author: bweschke
Date: Wed May  3 15:14:54 2006
New Revision: 24564

URL: http://svn.digium.com/view/asterisk?rev=24564&view=rev
Log:
 Implement and document RINGNOANSWER queue logging functionality to "tattle" on bad queue members.


Modified:
    trunk/apps/app_queue.c
    trunk/doc/queuelog.txt

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?rev=24564&r1=24563&r2=24564&view=diff
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Wed May  3 15:14:54 2006
@@ -1851,6 +1851,7 @@
 		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)

Modified: trunk/doc/queuelog.txt
URL: http://svn.digium.com/view/asterisk/trunk/doc/queuelog.txt?rev=24564&r1=24563&r2=24564&view=diff
==============================================================================
--- trunk/doc/queuelog.txt (original)
+++ trunk/doc/queuelog.txt Wed May  3 15:14:54 2006
@@ -71,6 +71,11 @@
 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.



More information about the asterisk-commits mailing list