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