func_channel, chan_pjsip: Add CHANNEL read function support for chan_pjsip
authorMatthew Jordan <mjordan@digium.com>
Wed, 11 Dec 2013 13:06:30 +0000 (13:06 +0000)
committerMatthew Jordan <mjordan@digium.com>
Wed, 11 Dec 2013 13:06:30 +0000 (13:06 +0000)
commitce423d2ea47501a829711ff957e78729f38925ff
treecbeaeafaba32bb60b551c7a24979b7783a0d94d3
parentf46b30bd36457cf349ef18ee854cce9f4dd0daaf
func_channel, chan_pjsip: Add CHANNEL read function support for chan_pjsip

This patch adds CHANNEL read support for chan_pjsip. This allows the dialplan
to use the CHANNEL function on a chan_pjsip channel to obtain run-time
information about the channel from the PJSIP channel driver and the PJSIP
stack. This includes:
 * RTP information, including source/destination media addresses, whether or
   not the media is secure, held, and other properties.
 * RTCP information. This includes sets of parseable information, as well as
   individual statistic attriutes.
 * PJSIP information. This includes URIs, local/remote signalling addresses,
   whether or not the signalling is secure, and other properties.
 * The endpoint name. This can be used in conjunction with the PJSIP_ENDPOINT
   function to obtain more detailed endpoint information.

Review: https://reviewboard.asterisk.org/r/3038/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/Makefile
channels/chan_pjsip.c
channels/pjsip/dialplan_functions.c [new file with mode: 0644]
channels/pjsip/include/chan_pjsip.h [new file with mode: 0644]
channels/pjsip/include/dialplan_functions.h [new file with mode: 0644]
funcs/func_channel.c
include/asterisk/res_pjsip_session.h
main/xmldoc.c
res/res_pjsip_t38.c