diff options
author | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-22 19:48:31 +0000 |
---|---|---|
committer | eliel <eliel@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-05-22 19:48:31 +0000 |
commit | f2c5d7b64b35eb34294615ae45fe30efadc1d2dc (patch) | |
tree | 44ef1b4b886267d9d492415cd908aac89268aff2 /apps | |
parent | f9fab5c49b3d131d8bb3feda6b5cc31dc1846386 (diff) |
Merged revisions 196377 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r196377 | eliel | 2009-05-22 15:38:33 -0400 (Fri, 22 May 2009) | 11 lines
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)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@196378 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_minivm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c index 3e5058067..1ed9a7a3d 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -3329,6 +3329,8 @@ static int unload_module(void) 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); |