Atenciosamente / Kind Regards / Cordialement / Un saludo,
Sérgio Charrua
> On 15 Jan 2025, at 09:57, Sergio Charrua via sr-users <sr-users@lists.kamailio.org> wrote:
>
> Hello all!
>
> just wondering if anyone knows a good way to failover with the HTTP Async module.
>
> The standard HTTP Client module (synchronous) does implement some nice functionalities for failover between URL addresses,
Thank you for the feedback! I had good use of that myself when developing it.
> but the HTTP Async doesn't have any failover functionality...
>
> I have implemented some functions (within kamailio.cfg) for failover upon HTTP requests, but despite it working fine, it would be better to have that functionality on the HTTP Async module, just like HTTP Client has...
>
> Any technical reason for HTTP Async module not having failover functionalities?
Not sure, but they where developed in parallell by different developers so they went in
different directions. Personally I do like the httpcon idea that enabled this failover in a
nice way. I took the idea from another module :-)
Another solution is to run the HTTP Client in a background process asynchronously.
/O