]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge.c: Obey BRIDGE_NOANSWER variable to skip answering channel.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 14 Aug 2025 12:50:31 +0000 (08:50 -0400)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 20:04:27 +0000 (14:04 -0600)
commit5acf84879640f254c34303eec655c23793bea001
treef1f98277f843ced759dd02c0320d1f29e7353477
parent9fbea08f55cf39e576e90ca5659197c2a5501e41
bridge.c: Obey BRIDGE_NOANSWER variable to skip answering channel.

If the BRIDGE_NOANSWER variable is set on a channel, it is not supposed
to answer when another channel bridges to it using Bridge(), and this is
checked when ast_bridge_call* is called. However, another path exists
(bridge_exec -> ast_bridge_add_channel) where this variable was not
checked and channels would be answered. We now check the variable there.

Resolves: #401
Resolves: #1364
(cherry picked from commit 3ea3ec6f0aaebe7bc057bab584f11ef0e7171514)
main/bridge.c
main/features.c