]> 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:44:38 +0000 (18:44 +0000)
commit3575c026862e372ed8ffcc9794490e8eab335979
tree625dd61b1b0465067c3c6dd92d98a137cf0a1ce6
parent8d3bd2cc31d2520121b5825b43d69938ce7ec524
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 d010dd9752247fe9a60829a29ee9a436bd10d0fd)
res/res_stir_shaken/attestation.c
res/res_stir_shaken/verification.c