or this one? :
 
 cat kamailio.cfg | grep loadmodule
loadmodule "db_mysql.so"
loadmodule "mi_fifo.so"
loadmodule "kex.so"
loadmodule "corex.so"
loadmodule "tm.so"
loadmodule "tmx.so"
loadmodule "sl.so"
loadmodule "rr.so"
loadmodule "pv.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "siputils.so"
loadmodule "xlog.so"
loadmodule "sanity.so"
loadmodule "ctl.so"
loadmodule "cfg_rpc.so"
loadmodule "mi_rpc.so"
loadmodule "acc.so"
loadmodule "ldap.so"
loadmodule "websocket.so"
loadmodule "xhttp.so"
loadmodule "auth.so"
loadmodule "auth_db.so"
loadmodule "permissions.so"
loadmodule "alias_db.so"
loadmodule "speeddial.so"
loadmodule "domain.so"
loadmodule "presence.so"
loadmodule "presence_xml.so"
loadmodule "nathelper.so"
loadmodule "rtpproxy.so"
loadmodule "tls.so"
loadmodule "htable.so"
loadmodule "pike.so"
loadmodule "xmlrpc.so"
loadmodule "debugger.so"
 
Regards,
 
Gesendet: Montag, 13. Juni 2016 um 13:36 Uhr
Von: "wanmon wanmon" <wanmon@gmx.de>
An: miconda@gmail.com, sr-users@lists.sip-router.org
Cc: "Kamailio (SER) - Users Mailing List" <sr-users@lists.sip-router.org>
Betreff: Re: [SR-Users] kamailio TLS mod_register failed
this one:
 
#!define WITH_MYSQL
#!define WITH_AUTH
#!define WITH_ALIASDB
#!define WITH_NAT
#!define WITH_USRLOCDB
#!define WITH_TLS
 
 
Regards,
 
Gesendet: Montag, 13. Juni 2016 um 11:46 Uhr
Von: "Daniel-Constantin Mierla" <miconda@gmail.com>
An: "Kamailio (SER) - Users Mailing List" <sr-users@lists.sip-router.org>
Betreff: Re: [SR-Users] kamailio TLS mod_register failed

Hello,

can you paste the list of laodmodule lines you have in the kamailio.cfg?

Cheers,
Daniel

 
On 13/06/16 11:07, wanmon wanmon wrote:
Hi,
 
i got the follow error when i try to start Kamailio with "TLS" enabled (#!define WITH_TLS):
 
2016-06-13T11:11:41.316540+02:00 host kamailio: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions
2016-06-13T11:11:41.316918+02:00 host kamailio: ERROR: <core> [sr_module.c:607]: load_module(): /usr/local/lib64/kamailio/modules/tls.so: mod_register failed
2016-06-13T11:11:41.317119+02:00 host kamailio: : <core> [cfg.y:3388]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 292, column 12-19: failed to load module
2016-06-13T11:11:41.318624+02:00 host kamailio: ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <tls> found
2016-06-13T11:11:41.318842+02:00 host kamailio: : <core> [cfg.y:3391]: yyerror_at(): parse error in config file /usr/local/etc/kamailio//kamailio.cfg, line 451, column 60: Can't set module parameter
2016-06-13T11:11:41.325100+02:00 host kamailio: INFO: <core> [sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
 
 
kamailio -V
version: kamailio 5.0.0-dev3 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, 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
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 10:21:35 Jun 13 2016 with gcc 4.8.5
 
How can i fix it?
 
Thanks in advance,
 
 
 
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
 
-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users