[asterisk-commits] russell: branch russell/events r74119 - /team/russell/events/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 9 13:26:32 CDT 2007


Author: russell
Date: Mon Jul  9 13:26:32 2007
New Revision: 74119

URL: http://svn.digium.com/view/asterisk?view=rev&rev=74119
Log:
comment on agent groups + device state

Modified:
    team/russell/events/channels/chan_agent.c

Modified: team/russell/events/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/team/russell/events/channels/chan_agent.c?view=diff&rev=74119&r1=74118&r2=74119
==============================================================================
--- team/russell/events/channels/chan_agent.c (original)
+++ team/russell/events/channels/chan_agent.c Mon Jul  9 13:26:32 2007
@@ -2137,7 +2137,14 @@
 	}
 }
 
-/*! \brief Part of PBX channel interface */
+/*! \brief Part of PBX channel interface 
+ *
+ * This module is now pretty close to not needing this callback at all, as it
+ * provides state information explicitly in ast_devstate_changed() calls.  However,
+ * this function is still used to get the state of agent groups.  To remove this
+ * completely, changing the state of an agent throughout the module needs to be
+ * smart enough to also change the state of agent groups as appropriate. 
+ */ 
 static int agent_devicestate(void *data)
 {
 	struct agent_pvt *p;




More information about the asterisk-commits mailing list