[asterisk-commits] russell: branch 1.4 r164806 - /branches/1.4/main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 16 14:35:25 CST 2008


Author: russell
Date: Tue Dec 16 14:35:25 2008
New Revision: 164806

URL: http://svn.digium.com/view/asterisk?view=rev&rev=164806
Log:
Add "restart gracefully" to the AMI blacklist of CLI commands.  

"module unload" was already identified as a command that can not be used 
from the AMI.  "restart gracefully" effectively unloads all modules, and will 
run in to the same problems.

(closes issue #13894)
Reported by: kernelsensei

Modified:
    branches/1.4/main/manager.c

Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=164806&r1=164805&r2=164806
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Tue Dec 16 14:35:25 2008
@@ -138,6 +138,7 @@
 } command_blacklist[] = {
 	{{ "module", "load", NULL }},
 	{{ "module", "unload", NULL }},
+	{{ "restart", "gracefully", NULL }},
 };
 
 struct mansession {




More information about the asterisk-commits mailing list