]> 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:34:59 +0000 (19:34 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 22 Jun 2012 19:34:59 +0000 (19:34 +0000)
commitb4dd46c0a65ed24465f80d4d7a5639b96d809379
tree1bd6283697f521170645ca122b41ffecab537fcc
parent6f05e6dd0ff7f73cff90bdb901ad23850c7d498d
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
........

Merged revisions 369214 from http://svn.asterisk.org/svn/asterisk/branches/1.8

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