chan_sip: fix problem directmediapermit/deny uses the wrong address
authorJonathan Rose <jrose@digium.com>
Thu, 24 May 2012 18:56:43 +0000 (18:56 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 24 May 2012 18:56:43 +0000 (18:56 +0000)
commitbdaecbb66b1d6f92f32d14e34fb399634bb5079a
treed5ca35238263604d3f34e52cd48e132677f2a8ee
parentd0ed332750da99d21a83d6e247d6f4dddd7f0116
chan_sip: fix problem directmediapermit/deny uses the wrong address

When remotely bridging calls with directmedia, Asterisk would check
the address of the peers/users holding directmedia ACLs (set via
directmediapermit/directmediadeny) instead of the bridged peer. This
is similar to r366547, but trunk specific and involves changes to
the rtpengine instead of just chan_sip.

(closes issue AST-876)
review: https://reviewboard.asterisk.org/r/1924/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@367640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
include/asterisk/rtp_engine.h
main/rtp_engine.c