summaryrefslogtreecommitdiff
path: root/codecs
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-12-22 22:00:58 +0000
committerJoshua Colp <jcolp@digium.com>2017-01-03 11:46:25 +0000
commit34e728cfb9f175d85b463547ebf9977305b76c1b (patch)
tree16511708550569138c041f447436fa3874f80807 /codecs
parente2fa3c7edabd52b62830a32930b0b4aaf4bcb9ac (diff)
chan_pjsip: Use session for retrieving CHANNEL() information.
The CHANNEL() dialplan function implementation for PJSIP allows querying of PJSIP specific information. This used the channel passed in to get the PJSIP session and associated information. It is possible for this channel to be masqueraded and end up as a different channel type by the time the information request is actually acted upon. This change retrieves the PJSIP session safely and accesses data from it (including channel). This provides a guarantee that the session and channel will not be altered when the request is being acted upon. ASTERISK-26673 Change-Id: I335e12b89e1820cafdd92b3e7526b8ba649eb7e6
Diffstat (limited to 'codecs')
0 files changed, 0 insertions, 0 deletions