]> 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:52:59 +0000 (19:52 +0000)
commit67007cf6c070ddca49b17a9633c5ae83ded057c5
tree88ae826caa160b9ecc288396c6938d4ce5f496e9
parent3f203d137c320413f2f09cad94b2eeebff6e1aa0
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