]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
res_srtp: Change Unsupported crypto suite msg from verbose to debug
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 1 Nov 2024 14:22:14 +0000 (08:22 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 14 Nov 2024 20:01:34 +0000 (20:01 +0000)
There's really no point in spamming logs with a verbose message
for every unsupported crypto suite an older client may send
in an SDP.  If none are supported, there will be an error or
warning.

(cherry picked from commit 50bd50d7980d24391d7761a5acaf73e0fc071a48)

res/res_srtp.c

index 33786d020ab5bfa51a0d23f3e3c8275f1200198c..09f33ac496a3175dbdc7c9d534570a17fee16f28 100644 (file)
@@ -957,7 +957,7 @@ static int res_sdp_crypto_parse_offer(struct ast_rtp_instance *rtp, struct ast_s
                key_len_expected = AES_256_GCM_KEYSIZE_WSALT;
 #endif
        } else {
-               ast_verb(1, "Unsupported crypto suite: %s\n", suite);
+               ast_debug(3, "Unsupported crypto suite: %s\n", suite);
                return -1;
        }