]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_messaging: Add support for following 3xx redirects
authorMaximilian Fridrich <m.fridrich@commend.com>
Fri, 7 Nov 2025 11:27:11 +0000 (12:27 +0100)
committerMaximilian Fridrich <m.fridrich@commend.com>
Tue, 30 Dec 2025 15:09:29 +0000 (15:09 +0000)
commitebde5ae5cbc974a2b63cfbb052b8844c6a383d5e
tree9846d0fbe2fbc0d4c81844feb008a53180e57e92
parent569b3ed99503c91fbcd90a3fcc1481e58755b07c
res_pjsip_messaging: Add support for following 3xx redirects

This commit integrates the redirect module into res_pjsip_messaging
to enable following 3xx redirect responses for outgoing SIP MESSAGEs.

When follow_redirect_methods contains 'message' on an endpoint, Asterisk
will now follow 3xx redirect responses for MESSAGEs, similar to how
it behaves for INVITE responses.

Resolves: #1576

UserNote: A new pjsip endpoint option follow_redirect_methods was added.
This option is a comma-delimited, case-insensitive list of SIP methods
for which SIP 3XX redirect responses are followed. An alembic upgrade
script has been added for adding this new option to the Asterisk
database.
res/res_pjsip_messaging.c