[asterisk-commits] trunk r34464 - /trunk/channels/chan_agent.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Jun 16 05:56:03 MST 2006
Author: bweschke
Date: Fri Jun 16 07:56:03 2006
New Revision: 34464
URL: http://svn.digium.com/view/asterisk?rev=34464&view=rev
Log:
Fixed per kpfleming's suggestion to asterisk-dev.
Modified:
trunk/channels/chan_agent.c
Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=34464&r1=34463&r2=34464&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Fri Jun 16 07:56:03 2006
@@ -2586,6 +2586,7 @@
{
struct agent_pvt *p;
/* First, take us out of the channel loop */
+ ast_channel_unregister(&agent_tech);
/* Unregister dialplan functions */
ast_custom_function_unregister(&agent_function);
/* Unregister CLI commands */
@@ -2610,7 +2611,6 @@
}
AST_LIST_UNLOCK(&agents);
AST_LIST_HEAD_DESTROY(&agents);
- ast_channel_unregister(&agent_tech);
return 0;
}
More information about the asterisk-commits
mailing list