]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Wed, 10 Sep 2025 19:55:23 +0000 (19:55 +0000)
commit0a69b40e12716d2c9a9e0b19553f227ede073e71
treecf66eaa55c8484bdc3f51d0a0706aa4df7c31088
parent0a4181eeb1d715d1767682a2170bca5e1f5063a6
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 6bc336b0caa862f02bd7832d603174ae66d9b8f7)
main/bridge.c
main/features.c