[asterisk-commits] mmichelson: branch group/CCSS r217231 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 8 15:52:20 CDT 2009


Author: mmichelson
Date: Tue Sep  8 15:52:19 2009
New Revision: 217231

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217231
Log:
*Add more debug information to link creation
*Add missing return statement to pass_availability_up


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=217231&r1=217230&r2=217231
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Sep  8 15:52:19 2009
@@ -886,7 +886,7 @@
 	new_link->service = interface->service_offered;
 	AST_LIST_INSERT_TAIL(&parent->child_links, new_link, next_child);
 	AST_LIST_INSERT_TAIL(&new_monitor->parent_links, new_link, next_parent);
-	ast_log(LOG_NOTICE, "Created link with parent %s and child %s\n", new_link->parent->name, new_link->child->name);
+	ast_log(LOG_NOTICE, "Created link with core_id %d, parent %s and child %s\n", new_link->core_id, new_link->parent->name, new_link->child->name);
 	ao2_ref(new_monitor, -1);
 	return new_monitor;
 }
@@ -1031,6 +1031,7 @@
 
 	if (monitor->monitor_class == AST_CC_ROOT_MONITOR) {
 		ast_cc_request_state_change(CC_CALLEE_READY, core_id, "Device being monitored has become available");
+		return 0;
 	}
 
 	/* Oh, so you're an extension monitor, are you?!




More information about the asterisk-commits mailing list