[asterisk-commits] file: branch 1.4 r53150 - /branches/1.4/apps/app_playback.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 5 09:02:00 MST 2007


Author: file
Date: Mon Feb  5 10:02:00 2007
New Revision: 53150

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53150
Log:
Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky)

Modified:
    branches/1.4/apps/app_playback.c

Modified: branches/1.4/apps/app_playback.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_playback.c?view=diff&rev=53150&r1=53149&r2=53150
==============================================================================
--- branches/1.4/apps/app_playback.c (original)
+++ branches/1.4/apps/app_playback.c Mon Feb  5 10:02:00 2007
@@ -468,6 +468,8 @@
 
 	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)



More information about the asterisk-commits mailing list