]> 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:39:56 +0000 (08:39 -0500)
commit1031a1805bf774b242b4d476f70a417a133b6794
tree04bd956e2b6a5fb7d99a8b3bb15b12ebd143c183
parent56ecf7005b0520c59e8e541debe6559894fa25ce
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