Hello,


did you add:


#!define WITH_TLS


somewhere at the top of your config (see the comments there)?


Cheers,
Daniel


On 16.08.17 08:40, Deepak Jaiswal wrote:

Hi,

I am new to kamailio and unable to debug the issue. Kamailio is not listening on TLS port. Could you please suggest some workaround?


[root@uk-vap-002 ~]# ss -tnlp | grep kamailio
LISTEN     0      1024              127.0.0.1:5060                     *:*      users:(("kamailio",29400,18))
LISTEN     0      1024        xxx.xxx.xxx.134:5060                     *:*      users:(("kamailio",29400,17))
LISTEN     0      1024        xxx.xxx.xxx.135:5060                     *:*      users:(("kamailio",29400,16))
LISTEN     0      1024        xxx.xxx.xxx:5060                     *:*      users:(("kamailio",29400,15))



Kamailio.cfg config done:


listen=tls:xxx.xxx.xxx.133:5061
listen=tls:xxx.xxx.xxx.135:5061
listen=tls:xxx.xxx.xxx.134:5061
listen=tls:127.0.0.1:5061

2. 
#!ifdef WITH_TLS
enable_tls=yes

3. 
#!ifdef WITH_TLS
loadmodule "tls.so"
#!endif

4.

#!ifdef WITH_TLS
# ----- tls params -----
modparam("tls", "config", "/usr/local/etc/kamailio/tls.cfg")
#!endif

Regards

Deepak Jaiswal




_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com