]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Mon, 4 Nov 2024 15:34:16 +0000 (15:34 +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.

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;
        }