Have a look at RTPEngine usage documentation here,
https://kamailio.org/docs/modules/5.6.x/modules/rtpengine.html#idm80
It answers all your questions. In short, you can have multiple sets of RTPEngines, each set can have multiple instances and each instance has weightage to define its priority within set. Kamailio auto checks the availability of each selected instance and enables / disables them using specified ping timeouts.
Hope this helps.
Kind regards.
--
Muhammad Shahzad Shafi
Tel: +49 176 99 83 10 85
-------- Original message --------
From: David Cunningham <dcunningham@voisonics.com>
Date: Thu, 7 Jul 2022, 03:32
To: "Kamailio (SER) - Users Mailing List" <sr-users@lists.kamailio.org>
Subject: [SR-Users] Multiple rtpengine servers
Hello,
We are looking to implement a system with one Kamailio server and multiple rtpengine servers. I see that the rtpengine module allows the server configuration to be stored in a database table with multiple entries, which is perfect.
My question is - how does Kamailio distribute load between multiple rtpengine servers in the same set?
If one of the rtpengine servers goes offline then will Kamailio note this and not send calls to that server until it comes back online? If not then presumably calls could be delayed by whatever the timeout for accessing a server is?
Thank you very much,
--
David Cunningham, Voisonics Limited
http://voisonics.com/USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782