<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone<br><div dir="ltr" class="gmail_signature"></div><div><br></div><div>I am trying to setup TLS to talk to MS Teams but I am getting a segfault when I try to start OpenSIPS.</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">CRITICAL:core:sig_usr: segfault in attendant (starter) process!</span><br></div><div><br></div><div>The server is Ubuntu 20.04.1</div><div>OpenSIPS 3.1.0</div><div><br></div><div>From the log:</div><div><br></div><div><div>INFO:tls_mgm:mod_init: initializing TLS management</div><div>DBG:core:__search_avp_map: looking for [tls_sip_dom] avp  - found -1</div><div>DBG:core:new_avp_alias: added alias tls_sip_dom with id 24</div><div>INFO:tls_mgm:mod_init: disabling compression due ZLIB problems</div><div>INFO:tls_mgm:init_tls_dom: Processing TLS domain 'dom1'</div><div>DBG:tls_mgm:init_tls_dom: no DH params file for tls domain 'dom1' defined, using default '(null)'</div><div>NOTICE:tls_mgm:init_tls_dom: No EC curve defined</div><div>DBG:tls_mgm:init_tls_dom: cipher list null ... setting default</div><div>INFO:tls_mgm:get_ssl_ctx_verify_mode: client verification activated. Client certificates are mandatory.</div><div>NOTICE:tls_mgm:init_tls_dom: no crl for tls, using none</div><div>DBG:core:count_module_procs: modules require 3 extra processes</div><div>CRITICAL:core:sig_usr: segfault in attendant (starter) process!</div><div>DBG:core:restore_segv_handler: restoring SIGSEGV handler...</div><div>DBG:core:restore_segv_handler: successfully restored system SIGSEGV handler</div><div>DBG:core:wait_status_code: read code 0 (0 byte)</div><div>INFO:core:daemonize: pre-daemon process exiting with -1</div></div><div><br></div><div>My TLS config:</div><div><br></div><div></div><div><div>#### TLS_MGM Module</div><div>loadmodule "tls_mgm.so"</div><div>modparam("tls_mgm", "server_domain", "dom1")</div><div>modparam("tls_mgm", "match_ip_address", "[dom1]xxx.xxx.xxx.xxx:5061")</div><div>modparam("tls_mgm", "match_sip_domain","[dom1]<a href="http://my.domain.com">my.domain.com</a>")</div><div>modparam("tls_mgm", "client_sip_domain_avp", "tls_sip_dom")</div><div>modparam("tls_mgm", "certificate", "[dom1]/usr/local/etc/opensips/tls/mycert.pem")</div><div>modparam("tls_mgm", "private_key", "[dom1]/usr/local/etc/opensips/tls/mykey.key")</div><div>modparam("tls_mgm", "ca_list", "[dom1]/usr/local/etc/opensips/tls/calist.pem")</div><div>modparam("tls_mgm", "ca_dir", "[dom1]/usr/local/etc/opensips/certs/CA")</div><div>modparam("tls_mgm", "tls_method", "[dom1]TLSv23")</div><div><br></div><div>#### PROTO_TLS Module</div><div>loadmodule "proto_tls.so"</div><div>modparam("proto_tls", "tls_max_msg_chunks", 8)</div><div>modparam("proto_tls", "trace_on", 1)</div><div>modparam("proto_tls", "trace_destination", "sngdst")</div><div>modparam("proto_tls", "tls_handshake_timeout", 300)</div></div><div><br></div><div>Is anyone able to help with this please?</div><div><br></div><div>Best regards</div><div>Mark.</div><div><br></div><div><div><br></div></div></div></div></div></div></div></div>