]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
'queue add member' help text correction
authorRusty Newton <rnewton@digium.com>
Thu, 12 Sep 2013 00:04:08 +0000 (00:04 +0000)
committerRusty Newton <rnewton@digium.com>
Thu, 12 Sep 2013 00:04:08 +0000 (00:04 +0000)
You are adding dial strings to the queue, not channels. An aribitrary string
could be used, but you are typically referencing a channel. Correcting the
command help text.

(issue ASTERISK-22263)
(closes issue ASTERISK-22263)
Reported By: Rusty Newton
........

Merged revisions 398884 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 398885 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@398886 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 694527e4f767bf4cb0df8929da06fa1015f0fc9d..cfec634fac898c998e43b2418b6387428cc6c3dd 100644 (file)
@@ -9489,8 +9489,8 @@ static char *handle_queue_add_member(struct ast_cli_entry *e, int cmd, struct as
        case CLI_INIT:
                e->command = "queue add member";
                e->usage =
-                       "Usage: queue add member <channel> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n"
-                       "       Add a channel to a queue with optionally:  a penalty, membername and a state_interface\n";
+                       "Usage: queue add member <dial string> to <queue> [[[penalty <penalty>] as <membername>] state_interface <interface>]\n"
+                       "       Add a dial string (Such as a channel,e.g. SIP/6001) to a queue with optionally:  a penalty, membername and a state_interface\n";
                return NULL;
        case CLI_GENERATE:
                return complete_queue_add_member(a->line, a->word, a->pos, a->n);