diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-12-11 13:06:30 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-12-11 13:06:30 +0000 |
commit | ce423d2ea47501a829711ff957e78729f38925ff (patch) | |
tree | cbeaeafaba32bb60b551c7a24979b7783a0d94d3 /include/asterisk | |
parent | f46b30bd36457cf349ef18ee854cce9f4dd0daaf (diff) |
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
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/res_pjsip_session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/res_pjsip_session.h b/include/asterisk/res_pjsip_session.h index 7b359cdf1..615a6214c 100644 --- a/include/asterisk/res_pjsip_session.h +++ b/include/asterisk/res_pjsip_session.h @@ -52,6 +52,7 @@ enum ast_sip_session_t38state { T38_PEER_REINVITE, /*!< Offered from peer - REINVITE */ T38_ENABLED, /*!< Negotiated (enabled) */ T38_REJECTED, /*!< Refused */ + T38_MAX_ENUM, /*!< Not an actual state; used as max value in the enum */ }; struct ast_sip_session_sdp_handler; |