]> 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)
committerNaveen Albert <asterisk@phreaknet.org>
Fri, 15 Aug 2025 15:59:22 +0000 (15:59 +0000)
commita23c467c829f937fdccb45fcb907153f7aa7b275
tree904c301dcd2338cc084d2e01497979d37bbc0959
parentca5335d90ea8dc26fa2ea189f9621b1d8a4a3513
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
main/bridge.c
main/features.c