Commit 80ad6b3206 for freeswitch.com

commit 80ad6b320634e708272a8ef08dd6021af81bd54d
Author: Dmitry Verenitsin <morbit85@gmail.com>
Date:   Thu Aug 20 23:25:54 2026 +0500

    [core] Stop the timer error log on RTP sessions without a timer (#3128)

    `read_rtp_packet()` runs `switch_core_timer_check()` on every empty
    read, and that logs an error when `rtp_session->timer` is zeroed, the
    normal state for T.38, proxy media, and a disabled timer. Test
    `timer.timer_interface` first so those sessions stay quiet; the branch
    itself is not reachable without a timer, so packet handling is unchanged.

diff --git a/src/switch_rtp.c b/src/switch_rtp.c
index d0ff5eb40a..12436e4211 100644
--- a/src/switch_rtp.c
+++ b/src/switch_rtp.c
@@ -6556,6 +6556,7 @@ static switch_status_t read_rtp_packet(switch_rtp_t *rtp_session, switch_size_t
 		}
 	} else if (!switch_cmp_addr(rtp_session->from_addr, rtp_session->remote_addr, SWITCH_FALSE) &&
 				!switch_rtp_test_flag(rtp_session, SWITCH_RTP_FLAG_AUTOADJ) &&
+				rtp_session->timer.timer_interface &&
 				switch_core_timer_check(&rtp_session->timer, SWITCH_FALSE) == SWITCH_STATUS_FALSE) {
 			/**
 			* nothing has been read from socket. We are not in auto-adjustment window anymore