]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_stir_shaken: Add stir_shaken option and general improvements.
authorBen Ford <bford@digium.com>
Wed, 24 Jun 2020 16:49:11 +0000 (11:49 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 6 Oct 2020 14:07:51 +0000 (09:07 -0500)
commit21ab0a450be4d16f7c82f6e23ad75d6a343f7de3
tree42dda01c4279b91589cb1a091a67daa256131f0f
parentd979bdf87a70a822942130b791456e81cfbdb9bc
res_stir_shaken: Add stir_shaken option and general improvements.

Added a new configuration option for PJSIP endpoints - stir_shaken. If
set to yes, then STIR/SHAKEN support will be added to inbound and
outbound INVITEs. The default is no. Alembic has been updated to include
this option.

Previously the dialplan function was not trimming the whitespace from
the parameters it recieved. Now it does.

Also added a conditional that, when TEST_FRAMEWORK is enabled, the
timestamp in the identity header will be overlooked. This is just for
testing, since the testsuite will rely on a SIPp scenario with a preset
identity header to trigger the MISMATCH result.

Change-Id: I43d67f1489b8c1c5729ed3ca8d71e35ddf438df1
configs/samples/pjsip.conf.sample
configs/samples/stir_shaken.conf.sample
contrib/ast-db-manage/config/versions/61797b9fced6_add_stir_shaken.py [new file with mode: 0644]
doc/CHANGES-staging/stir_shaken.txt [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_stir_shaken.c
res/res_stir_shaken.c