]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_stir_shaken: Add "ignore_sip_date_header" config option.
authorGeorge Joseph <gjoseph@sangoma.com>
Sun, 15 Jun 2025 20:43:13 +0000 (14:43 -0600)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Wed, 18 Jun 2025 15:26:47 +0000 (15:26 +0000)
commitfe341c2b0f00f8c107d67a43c100281df1f49112
tree6ff5b023e6e2a764229ea16e71171c852f0cb992
parent2198126231ba0bec5df16295805f00a8b21277b4
res_stir_shaken: Add "ignore_sip_date_header" config option.

UserNote: A new STIR/SHAKEN verification option "ignore_sip_date_header" has
been added that when set to true, will cause the verification process to
not consider a missing or invalid SIP "Date" header to be a failure.  This
will make the IAT the sole "truth" for Date in the verification process.
The option can be set in the "verification" and "profile" sections of
stir_shaken.conf.

Also fixed a bug in the port match logic.

Resolves: #1251
Resolves: #1271
configs/samples/stir_shaken.conf.sample
res/res_pjsip_stir_shaken.c
res/res_stir_shaken/common_config.c
res/res_stir_shaken/common_config.h
res/res_stir_shaken/profile_config.c
res/res_stir_shaken/stir_shaken_doc.xml
res/res_stir_shaken/verification.c
res/res_stir_shaken/verification_config.c