[asterisk-commits] mmichelson: branch group/CCSS r217481 - /team/group/CCSS/main/ccss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 9 15:02:13 CDT 2009
Author: mmichelson
Date: Wed Sep 9 15:02:12 2009
New Revision: 217481
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217481
Log:
Undo previous commit. I got agent and monitor mixed up.
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=217481&r1=217480&r2=217481
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Wed Sep 9 15:02:12 2009
@@ -732,6 +732,7 @@
struct ast_cc_agent *agent = userdata;
struct ast_str *str = ast_str_alloca(128);
ast_str_set(&str, 0, "%s is no longer busy\n", agent->interface);
+ ast_cc_request_state_change(CC_ACTIVE, agent->core_id, ast_str_buffer(str));
}
static int cc_generic_agent_start_monitoring(struct ast_cc_agent *agent)
@@ -749,7 +750,7 @@
AST_EVENT_IE_END))) {
return -1;
}
- return ast_cc_request_state_change(CC_ACTIVE, agent->core_id, ast_str_buffer(str));
+ return 0;
}
static int cc_generic_agent_stop_monitoring(struct ast_cc_agent *agent)
More information about the asterisk-commits
mailing list