[asterisk-commits] mmichelson: branch group/CCSS r238359 - /team/group/CCSS/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 7 11:23:04 CST 2010


Author: mmichelson
Date: Thu Jan  7 11:23:00 2010
New Revision: 238359

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238359
Log:
unregister sip monitor and agent callbacks on module unload.


Modified:
    team/group/CCSS/channels/chan_sip.c

Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=238359&r1=238358&r2=238359
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Thu Jan  7 11:23:00 2010
@@ -29073,6 +29073,8 @@
 		ast_context_destroy(con, "SIP");
 	ast_unload_realtime("sipregs");
 	ast_unload_realtime("sippeers");
+	ast_cc_monitor_unregister(&sip_cc_monitor_callbacks);
+	ast_cc_agent_unregister(&sip_cc_agent_callbacks);
 
 	return 0;
 }




More information about the asterisk-commits mailing list