]> 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)
committerGeorge Joseph <gjoseph@digium.com>
Fri, 19 Nov 2021 14:42:46 +0000 (08:42 -0600)
commit426ee9a607f5f940a7257f2f8704ef75ffc68d72
tree8b6d86484b5ca86cef2022673cc36ddfee753b07
parentfbf03832da0bbfcf9e03df88d2049bc27e792992
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