[svn-commits] mmichelson: branch group/CCSS r225534 - /team/group/CCSS/main/ccss.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Oct 22 17:29:19 CDT 2009


Author: mmichelson
Date: Thu Oct 22 17:29:16 2009
New Revision: 225534

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=225534
Log:
Another manager event.


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

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=225534&r1=225533&r2=225534
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Thu Oct 22 17:29:16 2009
@@ -2392,6 +2392,8 @@
 		if (core_instance->current_state == CC_CALLER_REQUESTED) {
 			core_instance->current_state = args->state;
 			core_instance->agent->callbacks->ack(core_instance->agent);
+			manager_event(EVENT_FLAG_CC, "CCRequestAcknowledged",
+				"CoreID: %d\r\n", core_instance->core_id);
 		} else if (core_instance->current_state == CC_CALLER_BUSY) {
 			core_instance->current_state = args->state;
 			core_instance->agent->callbacks->stop_monitoring(core_instance->agent);
@@ -2414,7 +2416,6 @@
 			break;
 		}
 		core_instance->current_state = args->state;
-		/* XXX MANAGER */
 		if (core_instance->agent->callbacks->status_request(core_instance->agent) == AST_DEVICE_NOT_INUSE) {
 			ast_log(LOG_NOTICE, "Both parties are ready, let's try that recall\n");
 			cc_request_state_change(CC_RECALLING, core_instance->core_id, "Both parties are available\n");




More information about the svn-commits mailing list