but won't that add additional delay ? I mean, connection from Kamailio to python "middleware" script will also take some additional time to be made (even on localhost) and from "middleware" to STSH API via HTTP ....
Atenciosamente / Kind Regards / Cordialement / Un saludo,
*Sérgio Charrua*
On Mon, Dec 23, 2024 at 4:39 PM Alex Balashov via sr-users < sr-users@lists.kamailio.org> wrote:
On Dec 23, 2024, at 10:06 am, Sergio Charrua sergio.charrua@voip.pt
wrote:
Could creating a "middleware" python script (or any other language) that
Kamailio calls and sends required data, and then makes a HTTP request to the API be efficient ?
100%, and this is what you should do. Just make sure it's a separate service and not a script.
-- Alex Balashov Principal Consultant Evariste Systems LLC Web: https://evaristesys.com Tel: +1-706-510-6800
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!