]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 26 May 2021 17:45:54 +0000 (12:45 -0500)
commit12e8600849c49cc16df48944ab6a5807201511b4
tree504bb2fadc7502f607090c9525c44a6ce270dfe7
parent44fde9f428f098f0dab06e2a2dc5fa97977f27d7
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