Hello,

have you tried to just define a onreply_route:

// Manage incoming replies
// equivalent of onreply_route[...]{}
function ksr_onreply_manage()
{
        KSR.dbg("incoming reply\n");
        var scode = KSR.kx.gets_status();
        if (scode>100 && scode<=299) {
                ksr_route_natmanage();
        }
        return;
}

And then register this with the tm module function, as indicated in the docs?
https://www.kamailio.org/docs/modules/devel/modules/tm.html#tm.p.on_sl_reply

Cheers,

Henning 

-----Original Message-----
From: Ovidiu Sas <[email protected]> 
Sent: Montag, 27. März 2023 22:04
To: Kamailio (SER) - Users Mailing List <[email protected]>
Subject: [SR-Users] Handling stateless replies with kemi

Hello all,

How can we handle stateless replies with kemi?
tm has the following param:
modparam("tm", "on_sl_reply", "stateless_replies")

What's the proper way to map the "stateless_reply" onreply_route to a kemi 
function.
I'm playing with the app_jsdt module.

Thanks,
Ovidiu
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send 
an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to