Merged revisions 161721 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
  r161721 | mnicholson | 2008-12-08 11:23:41 -0600 (Mon, 08 Dec 2008) | 7 lines
  
  Fix a crash that can occur on a transfer in chan_sip when attempting to collect
  rtp stats.
  
  (closes issue #13956)
  Reported by: chris-mac
  Tested by: chris-mac
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Matthew Nicholson 17 years ago
parent 7382e257db
commit cebc3198bc

@ -5149,7 +5149,7 @@ static int sip_hangup(struct ast_channel *ast)
if (bridge) { if (bridge) {
struct sip_pvt *q = bridge->tech_pvt; struct sip_pvt *q = bridge->tech_pvt;
if (IS_SIP_TECH(bridge->tech) && q->rtp) if (IS_SIP_TECH(bridge->tech) && q)
ast_rtp_set_vars(bridge, q->rtp); ast_rtp_set_vars(bridge, q->rtp);
} }

Loading…
Cancel
Save