]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge: Deny full Local channel pair in bridge.
authorJoshua C. Colp <jcolp@sangoma.com>
Tue, 16 Nov 2021 10:06:26 +0000 (06:06 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 19 Nov 2021 14:15:25 +0000 (08:15 -0600)
commit3a4c9ec0e29b46fc5caf8608b7eb01474b4ea05f
tree6c6ca5423dee707d6a0f630608398d8dbbfd3516
parent4468fc11d6567e07e1f2ddf31ae8fb1abb4113a1
bridge: Deny full Local channel pair in bridge.

Local channels are made up of two pairs - the 1 and 2
sides. When a frame goes in one side, it comes out the
other. Back and forth. When both halves are in a
bridge this creates an infinite loop of frames.

This change makes it so that bridging no longer
allows both of these sides to exist in the same
bridge.

ASTERISK-29748

Change-Id: I29928b6de87cd9be996a77daccefd7c360fef651
main/bridge_channel.c