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