[asterisk-commits] mmichelson: branch group/CCSS r219793 - in /team/group/CCSS: apps/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 21 16:43:04 CDT 2009


Author: mmichelson
Date: Mon Sep 21 16:42:59 2009
New Revision: 219793

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=219793
Log:
Remember how on that last commit I said there were problably bugs?

Well, I found them and now they're fixed!


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

Modified: team/group/CCSS/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/apps/app_dial.c?view=diff&rev=219793&r1=219792&r2=219793
==============================================================================
--- team/group/CCSS/apps/app_dial.c (original)
+++ team/group/CCSS/apps/app_dial.c Mon Sep 21 16:42:59 2009
@@ -1933,6 +1933,7 @@
 	 */
 	cc_interface->monitor_type = cc_data->monitor_type;
 	cc_interface->monitor_class = AST_CC_DEVICE_MONITOR;
+	tree_item->interface = cc_interface;
 	ast_cc_copy_config_params(cc_interface->config_params, cc_data->config_params);
 	ast_log(LOG_NOTICE, "Created a device cc interface for '%s' with id %d and parent %d\n", cc_interface->name, tree_item->id, tree_item->parent_id);
 	return tree_item;

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=219793&r1=219792&r2=219793
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Mon Sep 21 16:42:59 2009
@@ -945,7 +945,7 @@
 	}
 
 	while ((tree_item = AST_LIST_NEXT(tree_item, next))) {
-		if (tree_item->parent_id == tree_item->id) {
+		if (tree_item->parent_id == current_place->id) {
 			interface_tree_to_monitor(tree_item, monitor, core_id);
 		}
 	}




More information about the asterisk-commits mailing list