[asterisk-commits] kmoore: branch 12 r412728 - /branches/12/apps/app_confbridge.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Apr 21 09:46:10 CDT 2014
Author: kmoore
Date: Mon Apr 21 09:46:06 2014
New Revision: 412728
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412728
Log:
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
Modified:
branches/12/apps/app_confbridge.c
Modified: branches/12/apps/app_confbridge.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/app_confbridge.c?view=diff&rev=412728&r1=412727&r2=412728
==============================================================================
--- branches/12/apps/app_confbridge.c (original)
+++ branches/12/apps/app_confbridge.c Mon Apr 21 09:46:06 2014
@@ -2197,6 +2197,11 @@
return NULL;
}
+ if (!state) {
+ return ast_strdup("all");
+ }
+ state--;
+
{
SCOPED_AO2LOCK(bridge_lock, conference);
AST_LIST_TRAVERSE(&conference->active_list, user, list) {
@@ -2225,7 +2230,7 @@
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) {
More information about the asterisk-commits
mailing list