Fix crashes in res_pjsip_sdp_rtp and res_pjsip_t38 when a stream is rejected and...
authorJoshua Colp <jcolp@digium.com>
Thu, 3 Oct 2013 14:52:24 +0000 (14:52 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 3 Oct 2013 14:52:24 +0000 (14:52 +0000)
commitc977f73e136eca1f2aaccd0ea0fe45c350906374
tree1f036b4061686d5b85a3a1a525e21575cc3b9377
parentaddbf276f5037dc5a265a1e43e383ae1d9e9d0d8
Fix crashes in res_pjsip_sdp_rtp and res_pjsip_t38 when a stream is rejected and external_media_address is set.

The callback function for changing the media address in streams wrongly assumes that a connection line
will always be present. This is false as no line is present if a stream has been rejected.

(closes issue ASTERISK-22645)
Reported by: Rusty Newton
........

Merged revisions 400360 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_sdp_rtp.c
res/res_pjsip_t38.c