]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Check the right channel's host address for directmediapermit/deny
authorJonathan Rose <jrose@digium.com>
Tue, 15 May 2012 20:14:05 +0000 (20:14 +0000)
committerJonathan Rose <jrose@digium.com>
Tue, 15 May 2012 20:14:05 +0000 (20:14 +0000)
commit923a66d764af6f7be748c4507518293cd9f930f4
tree2c9d0bed9952c33c85de5f7b8fc984a084c03b3f
parent2deb898bcd19022999bb1ff79da177bed7d1b58d
chan_sip: Check the right channel's host address for directmediapermit/deny

Prior to this patch, when checking the addresses for directmediapermit and
directmediadeny, Asterisk would check the host address of the channel
permit/deny was specified, which differs from the expectations of both
our users and the development team. Instead, directmediapermit/deny now
checks against the address of the channel that the peer with the ACL is
connected to.

(issue AST-876)
Review: https://reviewboard.asterisk.org/r/1899/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@366547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c