[asterisk-commits] jrose: branch jrose/call_identifiers r359442 - in /team/jrose/call_identifier...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 14 14:45:44 CDT 2012


Author: jrose
Date: Wed Mar 14 14:45:41 2012
New Revision: 359442

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=359442
Log:
Small correction to a log message.

Modified:
    team/jrose/call_identifiers/   (props changed)
    team/jrose/call_identifiers/main/logger.c

Propchange: team/jrose/call_identifiers/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Mar 14 14:45:41 2012
@@ -1,1 +1,1 @@
-/trunk:1-359413
+/trunk:1-359359

Modified: team/jrose/call_identifiers/main/logger.c
URL: http://svnview.digium.com/svn/asterisk/team/jrose/call_identifiers/main/logger.c?view=diff&rev=359442&r1=359441&r2=359442
==============================================================================
--- team/jrose/call_identifiers/main/logger.c (original)
+++ team/jrose/call_identifiers/main/logger.c Wed Mar 14 14:45:41 2012
@@ -1244,6 +1244,7 @@
 	using = ast_atomic_fetchadd_int(&next_unique_callid, +1);
 
 	call->call_identifier = using;
+	ast_log(LOG_DEBUG, "CALL_ID [C%d] created by thread.\n", call->call_identifier);
 	return call;
 }
 
@@ -1259,6 +1260,7 @@
 	if (!(*pointing)) {
 		ast_callid_ref(callid);
 		*pointing = callid;
+		ast_log(LOG_DEBUG, "CALL_ID [C%d] bound to thread.\n", callid->call_identifier);
 		/* callid will be unreffed at thread destruction */
 	} else {
 		ast_log(LOG_WARNING, "Attempted to ast_callid_threadassoc_add on thread already associated with a callid.\n");




More information about the asterisk-commits mailing list