From: Russell Bryant Date: Tue, 16 Dec 2008 20:35:25 +0000 (+0000) Subject: Add "restart gracefully" to the AMI blacklist of CLI commands. X-Git-Tag: 1.4.23-rc3~3^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa60ad0e43be301fcfe22da7a0aa5b184dd2e3a7;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@164806 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index 61ae08a492..c0245ad2a1 100644 --- a/main/manager.c +++ b/main/manager.c @@ -138,6 +138,7 @@ static struct { } command_blacklist[] = { {{ "module", "load", NULL }}, {{ "module", "unload", NULL }}, + {{ "restart", "gracefully", NULL }}, }; struct mansession {