[sr-dev] onsend reply route issue with KEMI

Salah Uddin Ahmed bd.rubel at gmail.com
Mon Apr 12 23:28:22 CEST 2021


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210412/646660f0/attachment.htm>


More information about the sr-dev mailing list