]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Introduce redirect module for handling 3xx responses
authorMaximilian Fridrich <m.fridrich@commend.com>
Fri, 7 Nov 2025 11:26:45 +0000 (12:26 +0100)
committerMaximilian Fridrich <m.fridrich@commend.com>
Tue, 30 Dec 2025 15:09:28 +0000 (15:09 +0000)
commit569b3ed99503c91fbcd90a3fcc1481e58755b07c
tree322467e5f126a407805e2bb4f07951d4c8d812ca
parent417f21e38dce246601df81ef3b015db1c3b7553d
res_pjsip: Introduce redirect module for handling 3xx responses

This commit introduces a new redirect handling module that provides
infrastructure for following SIP 3xx redirect responses. The redirect
functionality respects the endpoint's redirect_method setting and only
follows redirects when set to 'uri_pjsip'. This infrastructure can be
used by any PJSIP module that needs to handle 3xx redirect responses.
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/bb6d54e22913_add_follow_redirect_methods_to_ps_.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_redirect.h [new file with mode: 0644]
res/res_pjsip.c
res/res_pjsip/pjsip_config.xml
res/res_pjsip/pjsip_configuration.c
res/res_pjsip/redirect.c [new file with mode: 0644]
res/res_pjsip/security_agreements.c