lower log level on ZRTP protection drop

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.
This commit is contained in:
Travis Cross 2012-05-24 03:50:42 +00:00
parent 0c1a95f745
commit 236b927780
1 changed files with 1 additions and 1 deletions

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