More informative message on invalid commands.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Luigi Rizzo 19 years ago
parent a8e9428317
commit 1c570d9ba0

@ -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 */

Loading…
Cancel
Save