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

Jorge Cadena Argote notifications at github.com
Fri Jun 19 18:13:19 CEST 2020


Extract from examples.

```
Jun 19 11:07:47 localhost kamailio[8645]:  5(8658) ERROR: app_python3 [python_support.c:156]: python_handle_exception(): apy_exec: ksr_request_route((null)): Unhandled exception in the Python code:
Jun 19 11:07:47 localhost kamailio[8645]: AttributeError: 'kamailio' object has no attribute 'ksr_onsend_route'
Jun 19 11:07:47 localhost kamailio[8645]: During handling of the above exception, another exception occurred:
Jun 19 11:07:47 localhost kamailio[8645]: Traceback (most recent call last):
Jun 19 11:07:47 localhost kamailio[8645]:   File "/etc/kamailio/kamailio.py", line 68, in ksr_request_route
Jun 19 11:07:47 localhost kamailio[8645]:     if self.ksr_route_withindlg(msg) ==- 255:
Jun 19 11:07:47 localhost kamailio[8645]:   File "/etc/kamailio/kamailio.py", line 202, in ksr_route_withindlg
Jun 19 11:07:47 localhost kamailio[8645]:     self.ksr_route_relay(msg)
Jun 19 11:07:47 localhost kamailio[8645]:   File "/etc/kamailio/kamailio.py", line 135, in ksr_route_relay
Jun 19 11:07:47 localhost kamailio[8645]:     if KSR.tm.t_relay():
Jun 19 11:07:47 localhost kamailio[8645]: SystemError: <built-in function t_relay> returned a result with an error set
Jun 19 11:07:47 localhost kamailio[8645]:  5(8658) DEBUG: app_python3 [apy_kemi.c:112]: sr_kemi_config_engine_python(): execution of route type 1 with no name returned -1
```


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200619/5024df19/attachment.html>


More information about the sr-dev mailing list