]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: disallow PJSIP_SEND_SESSION_REFRESH pre-answer execution
authorKevin Harwell <kharwell@digium.com>
Mon, 24 Aug 2020 21:26:23 +0000 (16:26 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 28 Aug 2020 17:57:00 +0000 (12:57 -0500)
commit17258e0cdf2a0b8c3747a63b2fe469a3e1b3544b
tree71b0b002735cb779496941d4e2a16c868327aa9f
parent04527176458b0183d440891ec31770abedece71c
chan_pjsip: disallow PJSIP_SEND_SESSION_REFRESH pre-answer execution

This patch makes it so if the PJSIP_SEND_SESSION_REFRESH dialplan function
is called on a channel prior to answering a warning is issued and the
function returns unsuccessful.

ASTERISK-28878 #close

Change-Id: I053f767d10cf3b2b898fa9e3e7c35ff07e23c9bb
channels/pjsip/dialplan_functions.c
doc/CHANGES-staging/pjsip_send_session_refresh.txt [new file with mode: 0644]