[asterisk-commits] russell: trunk r133486 - /trunk/channels/chan_agent.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 24 15:40:16 CDT 2008
Author: russell
Date: Thu Jul 24 15:40:15 2008
New Revision: 133486
URL: http://svn.digium.com/view/asterisk?view=rev&rev=133486
Log:
I made this change from DEVICE_STATE to DEVICE_STATE_CHANGE, but I had it backwards,
this is the right event to subscribe to ...
Modified:
trunk/channels/chan_agent.c
Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?view=diff&rev=133486&r1=133485&r2=133486
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Thu Jul 24 15:40:15 2008
@@ -2488,7 +2488,7 @@
/* Dialplan Functions */
ast_custom_function_register(&agent_function);
- agent_devicestate_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE_CHANGE,
+ agent_devicestate_sub = ast_event_subscribe(AST_EVENT_DEVICE_STATE,
agent_devicestate_cb, NULL, AST_EVENT_IE_END);
return AST_MODULE_LOAD_SUCCESS;
More information about the asterisk-commits
mailing list