]> 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 13:45:27 +0000 (08:45 -0500)
commit2e55c0fdedd3ebf9d6ae219f5aa93edade8b3a97
tree0d1f0fdd0229299b3f32fee4a4ffb9ba6a75e8be
parenta203769c9d9053045b16363bfe930424368af7ee
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