diff options
author | Kinsey Moore <kmoore@digium.com> | 2014-04-21 14:47:37 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2014-04-21 14:47:37 +0000 |
commit | ea23198a9648485854c835ed5cfae2cd4f5b21b7 (patch) | |
tree | 5bcc3884f74fabbf00fefc4ce372c3b28f3cdedb /apps/app_confbridge.c | |
parent | cb6d928a39d62574f5cffdef378436b8e390971f (diff) |
Confbridge: Add references for kick all option
After the ability to kick all attendees from a conference was added, a
rework removed the comment about that feature from the CLI
documentation. This adds that documentation and adds "all" to the
participant tab completion list for the confbridge kick command.
(closes issue ASTERISK-23282)
Reported by: Dorian Logan
........
Merged revisions 412728 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_confbridge.c')
-rw-r--r-- | apps/app_confbridge.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/app_confbridge.c b/apps/app_confbridge.c index 3a2010179..7569a69e6 100644 --- a/apps/app_confbridge.c +++ b/apps/app_confbridge.c @@ -2253,6 +2253,11 @@ static char *complete_confbridge_participant(const char *conference_name, const return NULL; } + if (!state) { + return ast_strdup("all"); + } + state--; + { SCOPED_AO2LOCK(bridge_lock, conference); AST_LIST_TRAVERSE(&conference->active_list, user, list) { @@ -2281,7 +2286,7 @@ static char *handle_cli_confbridge_kick(struct ast_cli_entry *e, int cmd, struct e->command = "confbridge kick"; e->usage = "Usage: confbridge kick <conference> <channel>\n" - " Kicks a channel out of the conference bridge.\n"; + " Kicks a channel out of the conference bridge (all to kick everyone).\n"; return NULL; case CLI_GENERATE: if (a->pos == 2) { |