[asterisk-commits] russell: branch russell/cdr-q r249060 - /team/russell/cdr-q/main/cdr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 26 02:52:29 CST 2010


Author: russell
Date: Fri Feb 26 02:52:25 2010
New Revision: 249060

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=249060
Log:
Note oej's suggestion of a manager event here - I like the idea

Modified:
    team/russell/cdr-q/main/cdr.c

Modified: team/russell/cdr-q/main/cdr.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/cdr-q/main/cdr.c?view=diff&rev=249060&r1=249059&r2=249060
==============================================================================
--- team/russell/cdr-q/main/cdr.c (original)
+++ team/russell/cdr-q/main/cdr.c Fri Feb 26 02:52:25 2010
@@ -1490,6 +1490,9 @@
 			struct timeval now = ast_tvnow();
 			cdr_backend_queue(backend, wrap, QUEUE_HEAD);
 			if (ast_tvdiff_ms(now, backend->last_error) > ERROR_RATE_LIMIT) {
+				/*
+				 * XXX TODO Fire off a manager event here
+				 */
 				ast_log(LOG_ERROR, "Failed to post CDR to backend '%s', "
 						"queueing CDRs for retry later. "
 						"(Current CDR queue length for this backend: %d)\n",




More information about the asterisk-commits mailing list