Description

Hello, I didn't find force_send_socket function in kemi, so, I've tried to execute it like this:
KSR.x.modf("force_send_socket", "udp:10.199.240.166:5099")
and it doesn't work for me and I'm getting this error in output:

Log Messages

 2(23767) ERROR: {1 21 INVITE mPXgy6eqY2} app_python [python_support.c:154]: python_handle_exception(): apy_exec: ksr_branch_manage((null)): Unhandled exception in the Python code:
RuntimeError: self is NULL
 2(23767) ERROR: {1 21 INVITE MwD6tWSuw6} app_python [python_support.c:154]: python_handle_exception(): apy_exec: ksr_branch_manage((null)): Unhandled exception in the Python code:

Possible Solutions

When I comment this code - I don't have this error.

Additional Information

version: kamailio 5.4.5 (x86_64/linux) c46342
flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES, TLS_PTHREAD_MUTEX_SHARED
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: c46342
compiled on 12:05:00 Jul 23 2021 with gcc 7.5.0

Is there any way how to use force_send_socket mechanism in kemi?

Thank you!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.