Hello,
can you check if tls.so file is in the modules dir:
/usr/local/lib/kamailio/modules/
Cheers, Daniel
On 11/15/11 1:59 AM, Mokhtar Bengana wrote:
Hello,
I am trying to install the tls module in 3.2.0. I run apt-get update before apt-get install kamailio-tls-modules and still can't load the tls module and getting the following error. Kamailio can't find the tls module even though it's installed? I didn't get any errors when I run apt-get install kamailio-tls-modules. Everything else is defined in the config file. Has someone tried to install tls in the latest release and is having issues? Any help much appreciated.
#!define WITH_TLS
#!ifdef WITH_TLS enable_tls=yes #!endif
#!ifdef WITH_TLS loadmodule "tls.so" #!endif
#!ifdef WITH_TLS # ----- tls params ----- modparam("tls", "config", "/etc/kamailio/tls.cfg") #!endif
root@Kamalio:/usr/local/lib/kamailio/modules_k# kamailio -c loading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/ 0(12131) ERROR:<core> [sr_module.c:553]: ERROR: load_module: could not find module<tls> in </usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/> 0(12131) :<core> [cfg.y:3501]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 268, column 12-19: failed to load module 0(12131) ERROR:<core> [modparam.c:162]: set_mod_param_regex: No module matching<tls> found 0(12131) :<core> [cfg.y:3504]: parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 422, column 50: Can't set module parameter ERROR: bad config file (2 errors) root@Kamalio:/usr/local/lib/kamailio/modules_k#
root@Kamalio:/usr/local/lib/kamailio/modules_k# apt-get install kamailio-tls-modules Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: kamailio-tls-modules 0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded. Need to get 0 B/399 kB of archives. After this operation, 848 kB of additional disk space will be used. Selecting previously deselected package kamailio-tls-modules. (Reading database ... 30034 files and directories currently installed.) Unpacking kamailio-tls-modules (from .../kamailio-tls-modules_3.2.0+squeeze1_i386.deb) ... Setting up kamailio-tls-modules (3.2.0+squeeze1) ...
Thank you,
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