[asterisk-commits] mmichelson: branch group/CCSS r215999 - /team/group/CCSS/main/ccss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 3 13:31:42 CDT 2009
Author: mmichelson
Date: Thu Sep 3 13:31:38 2009
New Revision: 215999
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=215999
Log:
Small optimization and add a new debugging line.
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=215999&r1=215998&r2=215999
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Sep 3 13:31:38 2009
@@ -911,7 +911,7 @@
continue;
}
child = find_or_create_monitor(parent, child_interface_iterator, core_instance->core_id);
- if (strcmp(child_interface_iterator->monitor_type, "extension")) {
+ if (child_interface_iterator->monitor_class != AST_CC_EXTENSION_MONITOR) {
/* If we aren't dealing with an extension interface, then we
* can remove it from the list since we know it will have no
* children and we know that a corresponding monitor exists in
@@ -1402,6 +1402,7 @@
if (!(root_monitor = cc_monitor_instance_init(AST_CC_ROOT_MONITOR, "extension", "root", -1))) {
return -1;
}
+ ast_log(LOG_NOTICE, "Successfully created the root CC monitor\n");
ao2_ref(root_monitor, -1);
ast_log(LOG_NOTICE, "Successfully created root monitor\n");
res = ast_register_application2(ccreq_app, ccreq_exec, NULL, NULL, NULL);
More information about the asterisk-commits
mailing list