asterisk/channels/pjsip
Joshua Colp ae57652983 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
2017-01-03 05:47:05 -06:00
..
include channels/chan_pjsip: Add PJSIP_SEND_SESSION_REFRESH 2016-08-10 11:30:01 -05:00
cli_commands.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
dialplan_functions.c chan_pjsip: Use session for retrieving CHANNEL() information. 2017-01-03 05:47:05 -06:00