On 12 Dec 2024, at 17:48, Social Boh via sr-users
<sr-users(a)lists.kamailio.org> wrote:
>
> The HTTP_CLIENT, as far as I know, doesn't do that. So the question is: what
would be the best approach to have this feature on Kamailio? i thought about using HTable
and have a flag with value of the HTTP connection to use by default. At worst, only the
1st failover request would take 1 or 2 seconds to timeout....then the subsequent HTTP
requests would use node #2.
The failover option in the connection object is used for failover. As far as I remember
(but it was some time ago I wrote that code) there’s no monitoring like we do with OPTIONS
for SIP. Guess that can be implemented so that failover happens faster than now.
/O