Merged revisions 53150 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 5 Feb 2007 16:03:23 +0000 (16:03 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 5 Feb 2007 16:03:23 +0000 (16:03 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53150 | file | 2007-02-05 10:02:00 -0600 (Mon, 05 Feb 2007) | 2 lines

Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53151 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_playback.c

index c88d22e..7eeee9d 100644 (file)
@@ -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)