[asterisk-commits] eliel: trunk r196377 - /trunk/apps/app_minivm.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 22 14:38:41 CDT 2009


Author: eliel
Date: Fri May 22 14:38:33 2009
New Revision: 196377

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196377
Log:
Unregister every registered application by MiniVM.

The MinivmMWI application was not being unregistered on unload and we were not
able to load again the module or reload it.

(closes issue #15174)
Reported by: junky
Patches:
      unregister_minivm_mwi.diff uploaded by junky (license 177)


Modified:
    trunk/apps/app_minivm.c

Modified: trunk/apps/app_minivm.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/apps/app_minivm.c?view=diff&rev=196377&r1=196376&r2=196377
==============================================================================
--- trunk/apps/app_minivm.c (original)
+++ trunk/apps/app_minivm.c Fri May 22 14:38:33 2009
@@ -3462,6 +3462,8 @@
 	res |= ast_unregister_application(app_minivm_notify);
 	res |= ast_unregister_application(app_minivm_delete);
 	res |= ast_unregister_application(app_minivm_accmess);
+	res |= ast_unregister_application(app_minivm_mwi);
+
 	ast_cli_unregister_multiple(cli_minivm, ARRAY_LEN(cli_minivm));
 	ast_custom_function_unregister(&minivm_account_function);
 	ast_custom_function_unregister(&minivm_counter_function);




More information about the asterisk-commits mailing list