Module: kamailio
Branch: master
Commit: 19bff4b969a953d85872f4b498cae3098e97250c
URL: 
https://github.com/kamailio/kamailio/commit/19bff4b969a953d85872f4b498cae3098e97250c

Author: rajneeshksoni <[email protected]>
Committer: Richard Fuchs <[email protected]>
Date: 2026-05-27T11:35:35-04:00

rtpengine: Ping all the rtpengine in parallel.

- In periodic ping of rtpengine, all the configured rtpengines are
pinged sequentially. For small number of rtpengine it is not a problem
But for large number of rtpengine where some of them are not responding
this periodic timer can take long time.sequential ping takes
N * timeout seconds for N dead nodes.

- use poll() to wait for responses from all the nodes simultaneously. and
then retry only the nodes which are dead.

- It also helps in kamailio start up time, where child_init pings all the
nodes during startup.

---

Modified: src/modules/rtpengine/rtpengine.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/19bff4b969a953d85872f4b498cae3098e97250c.diff
Patch: 
https://github.com/kamailio/kamailio/commit/19bff4b969a953d85872f4b498cae3098e97250c.patch

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to