I’d think you’d also need to enable TCP in order to use TLS. You explicitly disable TCP.
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org]
On Behalf Of Nagorny, Dimitry
Sent: 13 April 2016 14:56
To: sr-users@lists.sip-router.org
Subject: [SR-Users] Kamailio TLS and SIP-Package building
Good afternoon all,
I have two questions regarding my configs:
kamailio.cfg tls.cfg . I am using Kamailio 4.3.5 on Cent OS 7.2 and all relevant pakage up-to-date.
1.)
When I try to start Kamailio I get the following warning:
WARNING: tls [tls_mod.c:287]: mod_init(): tls support is disabled (set
enable_tls=1 in the config to enable it)
Q: As you can see (line 36) TLS is enabled in config. So what could be the problem?
2.)
Lines 324-330 indicate that I want to redirect to 2031 if I’m called at
1. For some reason the SIP-Trace tells me its still building the INVITE with the To-Header to
sip:1@PSTN:5060 and the PSTN can’t find 1, because no 1 is registered.
Q: Why? (Outbound is set the same way and working perfectly).
Info: I tried already with uac_replace_to and uac_replace_from w/o success.
I would very much appreciate any hints on solving these issues.
Very Respectfully
Dimitry Nagorny
Trainee