<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests. Please
use this template only for bug reports.
If you have questions about using Kamailio or related to its configuration file, ask on
sr-users mailing list:
*
http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing C code, ask
on sr-dev mailing list:
*
http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the
developers to troubleshoot the issue.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### 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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2829