]> git.ipfire.org Git - thirdparty/asterisk.git/commit
STIR/SHAKEN: Option split and response codes.
authorBen Ford <bford@digium.com>
Tue, 21 Sep 2021 17:09:10 +0000 (12:09 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 27 Oct 2021 14:55:42 +0000 (09:55 -0500)
commitba3f6c0b1eefa891ff36d30a3081d0894a6882be
treeb51d93181d18dfe4f12cc1b6210c4f7d1617864e
parentd81d5ad832f0a1b8a6376ab7dc34ab774b98b5f9
STIR/SHAKEN: Option split and response codes.

The stir_shaken configuration option now has 4 different choices to pick
from: off, attest, verify, and on. Off and on behave the same way they
do now. Attest will only perform attestation on the endpoint, and verify
will only perform verification on the endpoint.

Certain responses are required to be sent based on certain conditions
for STIR/SHAKEN. For example, if we get a Date header that is outside of
the time range that is considered valid, a 403 Stale Date response
should be sent. This and several other responses have been added.

Change-Id: I4ac1ecf652cd0e336006b0ca638dc826b5b1ebf7
doc/UPGRADE-staging/stir_shaken_option_split.txt [new file with mode: 0644]
include/asterisk/res_pjsip.h
include/asterisk/res_stir_shaken.h
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_session.c
res/res_pjsip_stir_shaken.c
res/res_stir_shaken.c