Note that despite my support for using http_async_query, I do agree with this point: If queries are more than very occasional, I'd build a purpose driven kamailio instance for handling a SIP to HTTP bridge.
HOWEVER given the original post context and code, it appears that this is their goal.
Given the number of services that are offered -ONLY- over http, the response of "TL;DR don't do HTTP queries from Kamailio. Just don’t," can easily be taken to mean "don't use kamailio, because it can't do HTTP request", which I completely reject. Be smart,
understand the intricacies of using it, but don't act like it is a world killer.
Kaufman
Senior Voice Engineer
E: bkaufman@bcmone.com
|
SIP.US Client Support: 800.566.9810
| SIPTRUNK Client Support: 800.250.6510 | Flowroute Client Support: 855.356.9768
|
|
|
|
|
From: Alex Balashov via sr-users <sr-users@lists.kamailio.org>
Sent: Thursday, December 19, 2024 11:14 AM
To: sr-users@lists.kamailio.org <sr-users@lists.kamailio.org>
Cc: Alex Balashov <abalashov@evaristesys.com>
Subject: [SR-Users] Re: Kamailio not receiving packets on high CPS