[asterisk-commits] mmichelson: branch group/CCSS r217038 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 8 10:55:26 CDT 2009


Author: mmichelson
Date: Tue Sep  8 10:55:24 2009
New Revision: 217038

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217038
Log:
Get back in the swing of things by filling in the status_request
callback for generic monitors.


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=217038&r1=217037&r2=217038
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Sep  8 10:55:24 2009
@@ -1489,8 +1489,7 @@
 
 static enum ast_device_state cc_generic_monitor_status_request(struct ast_cc_monitor *monitor, const int core_id)
 {
-	/* STUB */
-	return AST_DEVICE_NOT_INUSE;
+	return ast_device_state(monitor->name);
 }
 
 static int cc_generic_monitor_unsuspend(struct ast_cc_monitor *monitor, const int core_id)




More information about the asterisk-commits mailing list