diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-10-06 00:52:19 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-10-06 00:52:19 +0000 |
commit | 57233a97e8d15ceb7e5d2d10cbf6ee2bc34368c4 (patch) | |
tree | 7fb31fce553cbc119a1d6040849245ea20647fcd /UPGRADE-12.txt | |
parent | 69032d62aafe68bef42f0ef2c6d14b845d461e20 (diff) |
pjsip/dialplan_functions: Handle PJSIP_MEDIA_OFFER called on non-PJSIP channels
Calling PJSIP_MEDIA_OFFER on a non-PJSIP channel is hazardous to your health.
It will treat the channels as a PJSIP channel, eventually hitting an ao2 error,
FRACKing on assertion error, and quite likely crashing.
This patch adds checks to the read/write callbacks that ensure that the channel
technology is of type 'PJSIP' before attempting to operate on the channel.
#SIPit31
ASTERISK-24382 #close
Reported by: Matt Jordan
........
Merged revisions 424621 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@424622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'UPGRADE-12.txt')
0 files changed, 0 insertions, 0 deletions