From: Joshua Colp Date: Mon, 5 Feb 2007 16:02:00 +0000 (+0000) Subject: Unregister Playback CLI commands as well as dialplan application. (issue #8946 report... X-Git-Tag: 1.4.1~138 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e647794710df9d330fd8be8d0512434903b5ee9a;p=thirdparty%2Fasterisk.git Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53150 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_playback.c b/apps/app_playback.c index c88d22e741..7eeee9dd29 100644 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -468,6 +468,8 @@ static int unload_module(void) res = ast_unregister_application(app); + ast_cli_unregister_multiple(cli_playback, sizeof(cli_playback) / sizeof(struct ast_cli_entry)); + ast_module_user_hangup_all(); if (say_cfg)