<p></p>
<p>Extract from examples.</p>
<pre><code>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
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2366">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMZ6O6IBFYPFYFIGELRXOFB7ANCNFSM4OC3RJVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKLADBDTPPHSMY72F3RXOFB7A5CNFSM4OC3RJVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4JSFMTOA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2366",
"url": "https://github.com/kamailio/kamailio/issues/2366",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>