]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Don't let a Local channel get bridged to itself
authorTerry Wilson <twilson@digium.com>
Wed, 22 Sep 2010 23:00:30 +0000 (23:00 +0000)
committerTerry Wilson <twilson@digium.com>
Wed, 22 Sep 2010 23:00:30 +0000 (23:00 +0000)
commit947cea177f94e2006e0ca9bbff1accb212615e25
tree72131b1866d5132bb5cd88ac891379470f0721ab
parenta0579869a762fc89e29f214c42fa1981db7a3c9e
Don't let a Local channel get bridged to itself

If a local channel gets bridged to itself, it becomes orphaned with no devices
left to actually tell it to hang up. This patch modifies local_fixup() to detect
this case and deny it.

Review: https://reviewboard.asterisk.org/r/934

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@288499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_local.c