Hi Ovidiu,
thanks for confirming back, sure some extension to the docs would be great.
Cheers,
Henning
-----Original Message-----
From: Ovidiu Sas <osas(a)voipembedded.com>
Sent: Donnerstag, 30. März 2023 18:00
To: Henning Westerholt <hw(a)gilawa.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: Re: [SR-Users] Handling stateless replies with kemi
Hello Henning,
Everything is working ok.
I guess the docs should be more clear (I was expecting some dedicated route).
I will try to update the docs.
Thanks,
Ovidiu
On Thu, Mar 30, 2023 at 3:30 AM Henning Westerholt <hw(a)gilawa.com> wrote:
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 <osas(a)voipembedded.com>
Sent: Montag, 27. März 2023 22:04
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
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 sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
--
VoIP Embedded, Inc.
http://www.voipembedded.com