[Asterisk-code-review] Enabled bridge destroy command as a default (asterisk[master])
sungtae kim
asteriskteam at digium.com
Sat Feb 9 05:19:38 CST 2019
sungtae kim has uploaded this change for review. ( https://gerrit.asterisk.org/10987
Change subject: Enabled bridge destroy command as a default
......................................................................
Enabled bridge destroy command as a default
Currently, to use the bridge destroy command, it required --enable-dev-mode
configuration option. But this command does not need extra astobj2 feature
for that. So changed it enable the feature as a default.
Change-Id: I99ff7b308236781003663bb32f2f2f3461cff209
---
M main/bridge.c
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/87/10987/1
diff --git a/main/bridge.c b/main/bridge.c
index 1bee2e6..ce37358 100644
--- a/main/bridge.c
+++ b/main/bridge.c
@@ -5146,7 +5146,6 @@
return CLI_SUCCESS;
}
-#ifdef AST_DEVMODE
static char *handle_bridge_destroy_specific(struct ast_cli_entry *e, int cmd, struct ast_cli_args *a)
{
struct ast_bridge *bridge;
@@ -5180,7 +5179,6 @@
return CLI_SUCCESS;
}
-#endif
static char *complete_bridge_participant(const char *bridge_name, const char *word)
{
@@ -5406,9 +5404,7 @@
static struct ast_cli_entry bridge_cli[] = {
AST_CLI_DEFINE(handle_bridge_show_all, "List all bridges"),
AST_CLI_DEFINE(handle_bridge_show_specific, "Show information about a bridge"),
-#ifdef AST_DEVMODE
AST_CLI_DEFINE(handle_bridge_destroy_specific, "Destroy a bridge"),
-#endif
AST_CLI_DEFINE(handle_bridge_kick_channel, "Kick a channel from a bridge"),
AST_CLI_DEFINE(handle_bridge_technology_show, "List registered bridge technologies"),
AST_CLI_DEFINE(handle_bridge_technology_suspend, "Suspend/unsuspend a bridge technology"),
--
To view, visit https://gerrit.asterisk.org/10987
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I99ff7b308236781003663bb32f2f2f3461cff209
Gerrit-Change-Number: 10987
Gerrit-PatchSet: 1
Gerrit-Owner: sungtae kim <pchero21 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190209/bf244dc1/attachment.html>
More information about the asterisk-code-review
mailing list