mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
More informative message on invalid commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2000,7 +2000,7 @@ static int process_message(struct mansession *s, struct message *m)
|
||||
}
|
||||
}
|
||||
if (!tmp)
|
||||
astman_send_error(s, m, "Invalid/unknown command");
|
||||
astman_send_error(s, m, "Invalid/unknown command. Use Action: ListCommands to show available commands.");
|
||||
if (ret)
|
||||
return ret;
|
||||
/* Once done with our message, deliver any pending events */
|
||||
|
Reference in New Issue
Block a user