]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Don't crash on a guest directmedia call
authorTerry Wilson <twilson@digium.com>
Fri, 22 Jun 2012 19:28:04 +0000 (19:28 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 22 Jun 2012 19:28:04 +0000 (19:28 +0000)
commit4151dff715051e19170f223c7ceae9c7719c51cd
treed57ecdc6c07296fa0b375793cba92e3929011548
parentc842a8c1459cea4347fa8087e692d621c60a2203
Don't crash on a guest directmedia call

A sip_pvt may not have relatedpeer set if a call doesn't match up
with a peer. If there is no relatedpeer, there is no direct media
ACL to apply, so just return that it is allowed.

(closes issue ASTERISK-20040)
Reported by: Terry Wilson

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