<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you check if tls.so file is in the modules dir:<br>
    <br>
    <pre wrap=""><i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/local/lib/kamailio/modules<span class="moz-txt-tag">/</span></i></pre>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 11/15/11 1:59 AM, Mokhtar Bengana wrote:
    <blockquote
cite="mid:CAMONOEH8+EgJTpBhQb+8O-Wc+wX7OkBjm-Op5ED7_qOPHfSzeA@mail.gmail.com"
      type="cite">
      <pre wrap="">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: &lt;core&gt; [sr_module.c:553]: ERROR: load_module: could
not find module &lt;tls&gt; in
&lt;/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/&gt;
 0(12131) : &lt;core&gt; [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: &lt;core&gt; [modparam.c:162]: set_mod_param_regex: No
module matching &lt;tls&gt; found
 0(12131) : &lt;core&gt; [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
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>