]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
lower log level on ZRTP protection drop
authorTravis Cross <tc@traviscross.com>
Thu, 24 May 2012 03:50:42 +0000 (03:50 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 24 May 2012 03:50:42 +0000 (03:50 +0000)
When a call is being setup, a couple seconds of audio may be sent
unencrypted.  This seems to trigger the log message here with every
such packet.

src/switch_rtp.c

index 4de962a31c7ac5a5ae9fb75a6250aca1dc61cb83..92c580664ea44d351b9c2df9b41f39d778fefb3c 100644 (file)
@@ -3972,7 +3972,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
                        case zrtp_status_ok:
                                break;
                        case zrtp_status_drop:
-                               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Error: zRTP protection drop with code %d\n", stat);
+                               switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Error: zRTP protection drop with code %d\n", stat);
                                ret = (int) bytes;
                                goto end;
                                break;