[asterisk-commits] mmichelson: branch group/CCSS r221145 - in /team/group/CCSS: apps/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 30 10:33:43 CDT 2009
Author: mmichelson
Date: Wed Sep 30 10:33:39 2009
New Revision: 221145
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=221145
Log:
* Initialize child_avail_id on link initialization.
* Remove incorrect comment from app_dial.
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=221145&r1=221144&r2=221145
==============================================================================
--- team/group/CCSS/apps/app_dial.c (original)
+++ team/group/CCSS/apps/app_dial.c Wed Sep 30 10:33:39 2009
@@ -1839,10 +1839,6 @@
tree_item->id = ast_atomic_fetchadd_int(&dial_cc_interface_counter, +1);
tree_item->parent_id = parent_id;
tree_item->service_offered = cc_data->service;
- /* XXX This data will need to be retrieved from the frame
- * data. However, to keep things simple for now, always use
- * "generic" monitor
- */
cc_interface->monitor_type = cc_data->monitor_type;
cc_interface->monitor_class = AST_CC_DEVICE_MONITOR;
tree_item->interface = cc_interface;
Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=221145&r1=221144&r2=221145
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Wed Sep 30 10:33:39 2009
@@ -987,6 +987,7 @@
new_link->parent = cc_ref(parent, "Link's parent reference");
new_link->core_id = core_id;
new_link->service = tree_item->service_offered;
+ new_link->child_avail_id = -1;
ast_atomic_fetchadd_int(&new_monitor->num_requests, +1);
AST_LIST_INSERT_TAIL(&parent->child_links, new_link, next_child);
AST_LIST_INSERT_TAIL(&new_monitor->parent_links, new_link, next_parent);
More information about the asterisk-commits
mailing list