<div dir="ltr">Hello,<div><br></div><div>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. </div><div>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.</div><div>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.</div><div><br></div><div>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?</div><div><br></div><div>Please advise if we are missing something.</div><div><br></div><div>Thank you,</div><div>Rubel</div><div></div></div>