[SR-Users] Heads-up: Clean-up of legacy modules in app_python3

2024-10-01 Thread Richard Chan via sr-users
HI kamailio users, There is a WIP PR on master (and targeting 6.0) to clean-up legacy modules on app_python3. https://github.com/kamailio/kamailio/pull/3986/commits/a9eb4b35b67b5889377273b0f0ca74074bbba4b6 If you rely on pre-KEMI features (Core / Router / Logger / Ranks) can you chime in here. T

[SR-Users] Re: Using a different OpenSSL

2024-08-24 Thread Richard Chan via sr-users
Hello David, Can you present your launcher script here? LD_LIBRARY_PATH is the correct way to use an ABI compatible(same SONAME) alternative to a system library. The boilerplate looks like this: #!/bin/bash # IMPORTANT: intended replacements must have the same SONAME as what # tls.so was built

[SR-Users] Re: TLS module crashes with FIPS OpenSSL

2024-05-14 Thread Richard Chan via sr-users
Can you try with kamailio ... --atexit=no On Tue, 14 May 2024, 13:13 Marat Gareev via sr-users, < sr-users@lists.kamailio.org> wrote: > Hello again, > > I've updated Kamailio to 5.7.5, set tls_threads_mode=2 and got another > segfault: > > Program terminated with signal SIGSEGV, Segmentat

[SR-Users] Re: TLS module doesn't support TLSV1

2024-04-04 Thread Richard Chan via sr-users
Check how libssl3 is configured in /etc/ssl/openssl.cnf. You may need: [system_default_sect] MinProtocol = TLSv1.0 CipherString = ALL@SECLEVEL=0 From: https://serverfault.com/questions/1143995/tls-1-0-broken-with-newer-debian-openssl Regards Richard __

[SR-Users] Re: rtimer intermittent failures

2024-03-04 Thread Richard Chan via sr-users
In the method can you put return 1 at the end. KEMI python is very strict on an int return value. On Tue, 5 Mar 2024, 07:08 Marrold via sr-users, wrote: > Hi all, > > I am using Kamailio 5.7.4 on a Debian 12 machine, with a Python Kemi based > config. I am seeing some intermittent failures whe

[SR-Users] Re: [sr-dev] Re: Roadmap to next major Kamailio release series v5.8.x

2024-02-27 Thread Richard Chan via sr-users
Hi Daniel === For the upgrading notes, some ideas — "tls.so: fixing GH#3635 new global config tls_threads_mode = 0 | 1 0: is the default and is the existing Kamailio behaviour 1: run some initialization functions(libcurl, database) in a thread to avoid creating thread-

[SR-Users] Heads-up: testing needed for major OpenSSL refactoring

2024-01-27 Thread Richard Chan via sr-users
Hello Kamailio community, After the January refactoring of OpenSSL integration, configurations that initialise libssl in rank 0 (thread #1) are likely to trigger errors more aggressively. This type of configuration has all along been broken due to OpenSSL use of thread-local variables. The first

[SR-Users] defexps not working as expected

2023-11-06 Thread Richard Chan via sr-users
In the config file: #!define KEYVALUE "key=s:value" modparam("pv", "varset", KEYVALUE) works. But if I try to use defexp or defexps the ID KEYVALUE is not set as expected and the parser complains. ## this doesn't parse #!defexp KEYVALUE2 "key=s:value" #!defexps KEYVALUE3 "key=s:value" # both t

[SR-Users] Dispatcher HA:won't route headers be wrong if in-dialog request is sent to backup?

2023-10-18 Thread Richard Chan via sr-users
Hi sr-users, In the case of dispatcher-based HA such as the Wazo example ( https://wazo-platform.org/blog/kamailio-ha-dispatcher-and-dmq) won't the Route: headers be wrong for in-dialog requests if the request is sent to the backup proxy? front proxy -> proxy A, B, C, D,... -> network Suppose th