]> 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:29 +0000 (15:09 +0000)
commitb041e26cebd8fb97474783a5441f14bce55625f8
treeb8f22486174678b76b89cf3bb5ee0aa28031593d
parentf53a8f15e80d85417d6778fe16cff2e9d5abf09c
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