With the following config
# ----- http_client params ----- modparam("http_client", "httpredirect", 0) modparam("http_client", "connection_timeout", 2) modparam("http_client", "keep_connections", 1) modparam("http_client", "query_result", 0) modparam("http_client", "httpcon", "api=>https://api.example.com");
and after calling the following from request_route,
$xavu(http=>rs)=http_connect("api", "/kamailio/message", "application/json", "$var(message_api)", "$xavu(http=>rb)");
if($xavu(http=>rs)==200) { jansson_get("result.code", $xavu(http=>rb), "$xavu(http=>code)"); jansson_get("result.message", $xavu(http=>rb), "$xavu(http=>message)"); sd_journal_print("LOG_DEBUG", "[$cfg(route)] Result: $xavu(http=>code), $xavu(http=>message)"); sl_send_reply("202", "Accepted"); exit; }
I see the following in the log:
INFO: <core> [main.c:857]: sig_usr(): signal 13 received
It doesn't seem to have any negative effect, but I am wondering if it's something I should look into. If so, any pointers on where/how to begin?