From: Andrey Volk Date: Thu, 12 Mar 2020 17:19:35 +0000 (+0400) Subject: [Core] switch_rtp: reduce dtls handshake failure level from error to warning. X-Git-Tag: v1.10.3^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b46e37318cd22815e5d3189defd49168a347053;p=thirdparty%2Ffreeswitch.git [Core] switch_rtp: reduce dtls handshake failure level from error to warning. --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 6179d68448..f745d1efde 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -3268,7 +3268,7 @@ static int dtls_state_handshake(switch_rtp_t *rtp_session, switch_dtls_t *dtls) case SSL_ERROR_NONE: break; default: - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_ERROR, "%s Handshake failure %d. This may happen when you use legacy DTLS v1.0 (legacyDTLS channel var is set) but endpoint requires DTLS v1.2.\n", rtp_type(rtp_session), ret); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_WARNING, "%s Handshake failure %d. This may happen when you use legacy DTLS v1.0 (legacyDTLS channel var is set) but endpoint requires DTLS v1.2.\n", rtp_type(rtp_session), ret); dtls_set_state(dtls, DS_FAIL); return -1; }