[asterisk-commits] mmichelson: branch group/CCSS_Monitor_Restructure r241623 - /team/group/CCSS_...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 20 13:36:59 CST 2010
Author: mmichelson
Date: Wed Jan 20 13:36:57 2010
New Revision: 241623
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=241623
Log:
Add manager event to request_cc
Modified:
team/group/CCSS_Monitor_Restructure/main/ccss.c
Modified: team/group/CCSS_Monitor_Restructure/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS_Monitor_Restructure/main/ccss.c?view=diff&rev=241623&r1=241622&r2=241623
==============================================================================
--- team/group/CCSS_Monitor_Restructure/main/ccss.c (original)
+++ team/group/CCSS_Monitor_Restructure/main/ccss.c Wed Jan 20 13:36:57 2010
@@ -2718,6 +2718,11 @@
if (monitor_iter->interface->monitor_class == AST_CC_DEVICE_MONITOR) {
if (monitor_iter->callbacks->request_cc2(monitor_iter, &monitor_iter->available_timer_id)) {
AST_DLLIST_REMOVE_CURRENT(next);
+ } else {
+ manager_event(EVENT_FLAG_CC, "CCRequestSent",
+ "CoreID: %d\r\n"
+ "Callee: %s\r\n",
+ core_instance->core_id, monitor_iter->interface->name);
}
} else if (!has_children(monitor_iter)) {
AST_DLLIST_REMOVE_CURRENT(next);
More information about the asterisk-commits
mailing list