mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user