]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_stir_shaken: Check for disabled before param validation
authorGeorge Joseph <gjoseph@sangoma.com>
Wed, 11 Sep 2024 16:19:23 +0000 (10:19 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 12 Sep 2024 18:46:27 +0000 (18:46 +0000)
commit41bcc40fc59d04ea9437dcfb6f8e71b51c934daa
tree35646f27542db3da7be3e77ca904e36c134f46eb
parent9a1ff05b0e773528e1f56a54418156609f7ece16
res_stir_shaken: Check for disabled before param validation

For both attestation and verification, we now check whether they've
been disabled either globally or by the profile before validating
things like callerid, orig_tn, dest_tn, etc.  This prevents useless
error messages.

Resolves: #879
(cherry picked from commit 77733275462b4a878ddbc25a4b1b43a8037cd457)
res/res_stir_shaken/attestation.c
res/res_stir_shaken/verification.c