]> 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 20:05:22 +0000 (20:05 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 22 Jun 2012 20:05:22 +0000 (20:05 +0000)
commit9cdc5468e7138aeefe48ed33c3d6ffdbd5eb932a
tree32078e570592c9e5cce6d82325c0b7c9432b67d3
parenteaf8d8a0d845b9949e43a6999f333dd59a47330d
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
........

Merged revisions 369215 from http://svn.asterisk.org/svn/asterisk/branches/10

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