[asterisk-commits] kmoore: branch 12 r412730 - /branches/12/apps/app_confbridge.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Apr 21 09:57:31 CDT 2014
Author: kmoore
Date: Mon Apr 21 09:57:25 2014
New Revision: 412730
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=412730
Log:
Confbridge: Fix ConfbridgeKick AMI documentation
This adds documentation for the "all" channel option for the
ConfbridgeKick AMI action and adjusts AMI responses accordingly.
(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=412730&r1=412729&r2=412730
==============================================================================
--- branches/12/apps/app_confbridge.c (original)
+++ branches/12/apps/app_confbridge.c Mon Apr 21 09:57:25 2014
@@ -222,7 +222,10 @@
<syntax>
<xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" />
<parameter name="Conference" required="true" />
- <parameter name="Channel" required="true" />
+ <parameter name="Channel" required="true" >
+ <para>If this parameter is not a complete channel name, the first channel with this prefix will be used.</para>
+ <para>If this parameter is "all", all channels will be kicked from the conference.</para>
+ </parameter>
</syntax>
<description>
</description>
@@ -2910,7 +2913,7 @@
ao2_ref(conference, -1);
if (found) {
- astman_send_ack(s, m, "User kicked");
+ astman_send_ack(s, m, !strcmp("all", channel) ? "All participants kicked" : "User kicked");
} else {
astman_send_error(s, m, "No Channel by that name found in Conference.");
}
More information about the asterisk-commits
mailing list