Module: kamailio
Branch: 6.0
Commit: 015efa305c2c7822e64383c6a98de9addd41add7
URL: 
https://github.com/kamailio/kamailio/commit/015efa305c2c7822e64383c6a98de9addd41add7

Author: Stefan Mititelu <stefan.mitit...@net2phone.com>
Committer: Henning Westerholt <h...@gilawa.com>
Date: 2025-08-16T08:46:29Z

rtpengine: don't ping manually disabled nodes

Fix for original commit: 3202dc9d8e26620fe642e474e5cf8632ab6bc3a7

(cherry picked from commit d48011199c1c262271efa63430f6e4a982b6052c)

---

Modified: src/modules/rtpengine/rtpengine.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/015efa305c2c7822e64383c6a98de9addd41add7.diff
Patch: 
https://github.com/kamailio/kamailio/commit/015efa305c2c7822e64383c6a98de9addd41add7.patch

---

diff --git a/src/modules/rtpengine/rtpengine.c 
b/src/modules/rtpengine/rtpengine.c
index 3db1b82064f..e28051ba57b 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -3788,7 +3788,10 @@ static void rtpengine_ping_check_timer(unsigned int 
ticks, void *param)
                for(crt_rtpp = rtpp_list->rn_first; crt_rtpp != NULL;
                                crt_rtpp = crt_rtpp->rn_next) {
 
-                       if(!crt_rtpp->rn_displayed || crt_rtpp->rn_disabled) {
+                       if(!crt_rtpp->rn_displayed
+                                       || (crt_rtpp->rn_disabled
+                                                       && 
crt_rtpp->rn_recheck_ticks
+                                                                          == 
RTPENGINE_MAX_RECHECK_TICKS)) {
                                continue;
                        }
 

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to