]> 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 18:10:10 +0000 (13:10 -0500)
commit31fbfc5e9511da31e61bafc66d6a4c27feb132df
treeb7cb5c560b8b2c06c3f62e1e8903a717a298986e
parent6d50d152d83f8dc676755b815f127ba539f0b726
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]