[sr-dev] [kamailio/kamailio] python3, tm.t_relay not return int (#2366)

Daniel-Constantin Mierla notifications at github.com
Mon Jun 29 08:15:31 CEST 2020


`KSR.tm.t_relay()` is returning int. The sample config has it like `if KSR.tm.t_relay() < 0:`, but I guess it should work evaluating an int anyhow in the if condition of python. Does it happen every time the script is executed? Do you get any other error messages before those pasted above, from the start of kamailio?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2366#issuecomment-650944682
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200628/e5baf762/attachment.html>


More information about the sr-dev mailing list