]> git.ipfire.org Git - thirdparty/asterisk.git/commit
channels/chan_pjsip: Add PJSIP_SEND_SESSION_REFRESH 26/3426/2
authorMatt Jordan <mjordan@digium.com>
Sun, 7 Aug 2016 14:58:59 +0000 (09:58 -0500)
committerMatt Jordan <mjordan@digium.com>
Wed, 10 Aug 2016 16:20:11 +0000 (11:20 -0500)
commit5f815f9dbaf78680fd7b21af27ed7fde900264fa
treee796124ce4a38d7422d97d3f045cb3f44d515561
parent5a5b949333ca9d5f2befc2c07fb5f376dbd05ec0
channels/chan_pjsip: Add PJSIP_SEND_SESSION_REFRESH

This patch adds a new PJSIP specific dialplan function,
PJSIP_SEND_SESSION_REFRESH. When invoked on a PJSIP channel, the media
session will be refreshed via either an UPDATE or re-INVITE request.
When used in conjunction with the PJSIP_MEDIA_OFFER dialplan function,
the formats in use on a PJSIP channel can be re-negotiated and changed
dynamically after call setup.

ASTERISK-26277 #close

Change-Id: Ib98fe09ba889aafe26d58d32f0fd1323f8fd9b1b
CHANGES
channels/chan_pjsip.c
channels/pjsip/dialplan_functions.c
channels/pjsip/include/dialplan_functions.h