diff options
author | Joshua Colp <jcolp@digium.com> | 2017-03-12 14:21:16 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2017-03-13 18:37:31 +0000 |
commit | c8d1b915d74740caea6e99329126a3aa5d73ad4c (patch) | |
tree | 8e1d1ad82a3bdce91f94379f1db0dbec9db851ae /res | |
parent | a860bf63e15b6a7baf8067f34ea38bd4cbee128d (diff) |
chan_pjsip: Don't assume a session will have a channel.
When querying for PJSIP specific information using the dialplan
function CHANNEL() it is possible that the underlying session
will no longer have a channel associated with it. This is
most likely to occur when the RTCP HEP module attempts to get
the channel name. If this happens then a crash will occur.
This change just adds a check that the channel exists on the
session before querying it.
ASTERISK-26857
Change-Id: I113479cffff6ae64cf8ed089e9e1565223426f01
Diffstat (limited to 'res')
0 files changed, 0 insertions, 0 deletions