]> git.ipfire.org Git - thirdparty/asterisk.git/commit
STIR/SHAKEN: Add Date header, dest->tn, and URL checking.
authorBen Ford <bford@digium.com>
Wed, 19 May 2021 18:45:16 +0000 (13:45 -0500)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 26 May 2021 17:33:06 +0000 (12:33 -0500)
commit26a38c40840061e22b065920164b2d0dec1c862b
tree9f5037a8d3dba9959fc8dd0c63796fd817538d6d
parent16e4a9d8cf389b59392623b0ada8ac99baece247
STIR/SHAKEN: Add Date header, dest->tn, and URL checking.

STIR/SHAKEN requires a Date header alongside the Identity header, so
that has been added. Still on the outgoing side, we were missing the
dest->tn section of the JSON payload, so that has been added as well.
Moving to the incoming side, URL checking has been added to the public
cert URL to ensure that it starts with http.

https://wiki.asterisk.org/wiki/display/AST/OpenSIPit+2021

Change-Id: Idee5b1b5e45bc3b483b3070e46ce322dca5b3f1c
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip_registrar.c
res/res_pjsip_stir_shaken.c