]> 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:01 +0000 (21:14 +0000)
commit7c485ad9dc80a54abf0312403e92bec1c175bb6a
treeb7a138a94230a65c61537c523cb243ccb4692bdf
parentf8f5cec2c15b23431bc2761171e4b60a9b7103bf
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