[SR-Users] Kamailio TLS and SIP-Package building

Phil Lavin phil.lavin at synety.com
Wed Apr 13 16:06:56 CEST 2016


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 at lists.sip-router.org] On Behalf Of Nagorny, Dimitry
Sent: 13 April 2016 14:56
To: sr-users at 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<http://pastebin.com/32PCh8n0> tls.cfg<http://pastebin.com/gnWZeD9e> . 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 at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160413/06bce072/attachment.html>


More information about the sr-users mailing list