]> 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:14:04 +0000 (21:14 +0000)
commit77733275462b4a878ddbc25a4b1b43a8037cd457
tree829b304ede21f0d4d262a3f8a76ec1ebc328765a
parenta721f99eb093c2dafff1adc4fb0e249656ac2f45
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