Hi Daniel,

I would like to thank you. 😊

Yes, this was the issue and now it is resolved.

It was commented out like.

######!define WITH_TLS

I removed prior ##### and kept it #!define WITH_TLS. It worked.
[root@uk-vap-002 log]# ss -tnlp | grep kamailio
LISTEN     0      1024              127.0.0.1:5060                     *:*      
users:(("kamailio",3640,18))
LISTEN     0      1024        xxx.xxx.xxx.134:5060                     *:*      
users:(("kamailio",3640,17))
LISTEN     0      1024        xxx.xxx.xxx.135:5060                     *:*      
users:(("kamailio",3640,16))
LISTEN     0      1024        xxx.xxx.xxx.133:5060                     *:*      
users:(("kamailio",3640,15))
LISTEN     0      1024              127.0.0.1:5061                     *:*      
users:(("kamailio",3640,22))
LISTEN     0      1024        xxx.xxx.xxx.134:5061                     *:*      
users:(("kamailio",3640,21))
LISTEN     0      1024        xxx.xxx.xxx.135:5061                     *:*      
users:(("kamailio",3640,20))
LISTEN     0      1024        xxx.xxx.xxx.133:5061                     *:*      
users:(("kamailio",3640,19))

Regards
Deepak K. Jaiswal



________________________________
From: Daniel-Constantin Mierla <[email protected]>
Sent: 16 August 2017 00:19:41
To: Kamailio (SER) - Users Mailing List; Deepak Jaiswal
Subject: Re: [SR-Users] Kamailio not listening on TLS port (5061)


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
[email protected]<mailto:[email protected]>
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--
Daniel-Constantin Mierla
www.twitter.com/miconda<http://www.twitter.com/miconda> -- 
www.linkedin.com/in/miconda<http://www.linkedin.com/in/miconda>
Kamailio Advanced Training - www.asipto.com<http://www.asipto.com>
Kamailio World Conference - www.kamailioworld.com<http://www.kamailioworld.com>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to