Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KEMI paython3 Error #2671

Closed
davegreeko2023 opened this issue Mar 11, 2021 · 2 comments
Closed

KEMI paython3 Error #2671

davegreeko2023 opened this issue Mar 11, 2021 · 2 comments

Comments

@davegreeko2023
Copy link

Hello All,
I am able to successfully make a call through Kamailio with no issues but I am getting 2 errors through KEMI paython3.

SystemError: <built-in function t_relay> returned a result with an error set
AttributeError: 'kamailio' object has no attribute 'ksr_onsend_route'

I am running Debian 10 with python 3.7.3.
Please find attached all supporting logs & configs

Your help is extremely appreciated!
Dave,

log_level_warning.txt
log_level_debug.txt
kamailio_version.txt
kamailio.cfg.txt
kamailio.py.txt

@miconda
Copy link
Member

miconda commented Mar 11, 2021

The bug tracker is for reporting issues in the C code, your logs indicate it is a configuration file issue.

In short: either define the method ksr_onsend_route() or see the core cookbook for kemi related parameters. For more discussions, write email to sr-users@lists.kamailio.org, which is the right place to discuss about how to configure and use kamailio.

@miconda miconda closed this as completed Mar 11, 2021
@davegreeko2023
Copy link
Author

Thank you so much Daniel for your feedback and valuable time. Your suggestion fixed both issues by explicitly adding:
kemi.onsend_route_callback=""
to the kamailio.cfg file without doing anything to the python script.

Thank you so much again!
Dave,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants