]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 11 Sep 2024 21:13:59 +0000 (21:13 +0000)
commitd010dd9752247fe9a60829a29ee9a436bd10d0fd
treeb7d50defc1443e49d744d592900700e57069699a
parent03983b2ff9af730fb00141b27f9986c4a54d427c
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
res/res_stir_shaken/attestation.c
res/res_stir_shaken/verification.c