]> 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)
committerKevin Harwell <kharwell@digium.com>
Fri, 28 Aug 2020 18:21:48 +0000 (13:21 -0500)
commit3c4a1722b6ee522a6155686bb53b1bd245e793d5
tree475241e8006edfcc487e8542cc1e1b3f578f89c3
parent28bae5e901b2595cac7b159734762128a2c591fe
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]