Thanks Alex :)
I searched for $rc and found this:
The definition of the sub-route block follows the general rules, with a name in
between square brackets and actions between curly braces. A sub-route can
return an integer value back to the routing block that executed it. The return
code can
Consider $rc.
—
Sent from mobile, apologies for brevity and errors.
> On Apr 2, 2023, at 1:01 PM, Chaigneau, Nicolas
> wrote:
>
> Hello,
>
>
>
> I have a question regarding Kamailio script and how the return code from a
> command export is handled as a boolean.
>
>
> In Kamailio
Hello,
I have a question regarding Kamailio script and how the return code from a
command export is handled as a boolean.
In Kamailio script, see this example:
if (!jansson_get("method", $rb, "$var(method)")) {
xhttp_reply("400", "Bad Request", "",
Hello,
Maybe a bug ?
This is with Kamailio 5.6.4.
I'm trying to use KEMI (python) with xhttp module event_callback function.
>From the callback function, I'm using the following KEMI function (test
>example):
KSR.xhttp.xhttp_reply(404, "Not Found", "text/html",
"OK")
This does not work.
Hello,
I have 2 clients. 1 using websocket and 1 mobile using TLS.
Both can call each other perfectly. After 24-48 hours calls from mobile to
websocket failed with an error message: TCP/TLS connection (id: 0) for
WebSocket could not be found.
At the same time I can make calls from the websocket