diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 32f087c2e4..743b89828b 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1889,7 +1889,8 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ rtp_flush_read_buffer(rtp_session, SWITCH_RTP_FLUSH_ONCE); } - if (bytes && switch_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOADJ) && switch_sockaddr_get_port(rtp_session->from_addr)) { + if (bytes && !(rtp_session->recv_msg.header.pt == rtp_session->cng_pt || rtp_session->recv_msg.header.pt == 13) && + switch_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOADJ) && switch_sockaddr_get_port(rtp_session->from_addr)) { if (++rtp_session->autoadj_tally >= 10) { const char *tx_host; const char *old_host;