When using http_async_client, I'm getting the following error:
Nov 28 08:18:49 tm-kamailio-ingress kamailio[24612]: 3(24635) : [core/mem/q_malloc.c:483]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7f62e75130c0), called from http_async_client: async_http.c: set_query_params(616), first free http_async_client: async_http.h: free_async_query(142) - aborting
route[REQUEST_PERMISSIONS] {
$var(body) = 0;
jansson_set("string", "from", "$fU", "$var(body)");
jansson_set("string", "to", "$tU", "$var(body)");
$http_req(all) = $null;
$http_req(method) = "POST";
$http_req(hdr) = "Content-Type: application/json";
$http_req(hdr) = "Accept: application/json";
$http_req(hdr) = "Connection: keep-alive";
$http_req(body) = $var(body);
$var(re_url)= "localhost:3000/v1/mock/makeCall";
if (http_async_query("$var(re_url)", "REQUEST_PERMISSIONS_REPLY") < 0) {
t_reply("500", "Server Internal Error");
exit;
}
}
(paste your debugging data here)
(paste your log messages here)
(paste your sip traffic here)
kamailio -v
(paste your output here)
(paste your output here)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.