Atenciosamente / Kind Regards / Cordialement / Un saludo,
Sérgio Charrua
Hi there
On 12/12/24 17:07, Sergio Charrua via sr-users wrote:
> Hello all!
>
> For a STSH project, kamailio is making HTTP requests to a middleware (REST API) using HTTP_CLIENT module.
> I have set the parameter "timeout" to 2 second, but this increases PDD to too high levels, so I have set it to 1 second. Problem is that 1sec is also too high!
> The parameter only accepts integer values, so no way to set this to 0.5sec.
https://www.kamailio.org/docs/modules/devel/modules/http_client.html#http_client.p.timeout_mode
That's already there since 5.8.0
https://github.com/kamailio/kamailio/commit/b882db36bbb7f7f13366bcc8f1db9f50910d2c0c
--
-----------------------------------------------------------------
| ,''`. Victor Seva |
| : :' : linuxmaniac@torreviejawireless.org |
| `. `' PGP: 8F19 CADC D42A 42D4 5563 730C 51A0 9B18 CF5A 5068 |
| `- Debian Developer |
-----------------------------------------------------------------
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!