summaryrefslogtreecommitdiff
path: root/main/manager_bridges.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2016-05-09 14:27:53 -0500
committerMark Michelson <mmichelson@digium.com>2016-05-23 13:18:18 -0500
commitf6c33771f660c3ad15bc554b355cb21e83c85e36 (patch)
tree721f6cbbb2032fbabb5acae6dd2b73876ca3abed /main/manager_bridges.c
parent5b15ec966db9c686ca7fbc74be8d57b4c63253d7 (diff)
Bridging: introduce "invisible" bridges.
Invisible bridges function the same as normal bridges, but they have the following restrictions: * They never show up in CLI, AMI, or ARI queries. * They do not have Stasis messages published about them. Invisible bridges' main use is for when use of the bridging system is desired, but the bridge should not be known to users of the Asterisk system. ASTERISK-25925 Change-Id: I804a209d3181d7c54e3d61a60eb462e7ce0e3670
Diffstat (limited to 'main/manager_bridges.c')
-rw-r--r--main/manager_bridges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/manager_bridges.c b/main/manager_bridges.c
index dd3e98b8d..2069d507c 100644
--- a/main/manager_bridges.c
+++ b/main/manager_bridges.c
@@ -572,7 +572,7 @@ static int manager_bridge_kick(struct mansession *s, const struct message *m)
}
} else {
bridge = ast_bridge_find_by_id(bridge_uniqueid);
- if (!bridge) {
+ if (!bridge || ast_test_flag(&bridge->feature_flags, AST_BRIDGE_FLAG_INVISIBLE)) {
astman_send_error(s, m, "Bridge not found");
return 0;
}