Hello,

have not looked into the details, but I would suggest before you spend more 
time debugging it to upgrade to the latest 5.4.x version. You do not need to 
change something in your cfg or db for this, and it will also contain other 
bugfixes.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-dev <[email protected]> On Behalf Of Salah Uddin Ahmed
Sent: Monday, April 12, 2021 11:28 PM
To: [email protected]
Subject: [sr-dev] onsend reply route issue with KEMI

Hello,

We are using the Kamailio(5.4.1) with python3 KEMI interpreter. Here I noticed 
an issue on ksr_onsend_route with the reply messages. We did 
"onsend_route_reply=1" on the kamailio.cfg. But ksr_onsend_route is not 
triggered by any reply messages.
Tried to dig some code and found, in t_reply.c before calling "run_onsend" it 
tested whether the onsend_rt list is empty or not by onsend_route_enabled(file: 
onsend.h) method.
But presumably rt lists are always empty if we use a KEMI interpreter.  We have 
tried the same version of Kamailio without KEMI, then onsend_route works fine.

If onsend_rt is not being used in case of KEMI then can we replace this test 
with simply by testing only the onsend_route_reply flag?

Please advise if we are missing something.

Thank you,
Rubel
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to