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 /res/res_pjsip_t38.c | |
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 'res/res_pjsip_t38.c')
-rw-r--r-- | res/res_pjsip_t38.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_pjsip_t38.c b/res/res_pjsip_t38.c index 3c97784a1..afe12505d 100644 --- a/res/res_pjsip_t38.c +++ b/res/res_pjsip_t38.c @@ -172,6 +172,10 @@ static void t38_change_state(struct ast_sip_session *session, struct ast_sip_ses case T38_LOCAL_REINVITE: /* wait until we get a peer response before responding to local reinvite */ break; + case T38_MAX_ENUM: + /* Well, that shouldn't happen */ + ast_assert(0); + break; } if (parameters.request_response) { |