Re: [SR-Users] Re-using an existing TLS connection

2022-02-25 Thread Olle E. Johansson


> On 25 Feb 2022, at 09:32, Matthias Urlichs  wrote:
> 
> Signed PGP part
> Hello,
> 
> My problem: our provider opens a TLS connection to us. They want us to use 
> this channel for outgoing calls, instead of opening a new SIP connection to 
> their server.
> 
> Is there a way to teach Kamailio to do that?

As Henning already answered, yes. But if you are security-consious it would 
from a SIP security standpoint require that their side present a client cert 
that you can verify so you are really sending calls to the right provider.

/O


signature.asc
Description: Message signed with OpenPGP
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Re-using an existing TLS connection

2022-02-25 Thread Henning Westerholt
Hello,

for a start - did you already tried this parameter: 
http://www.kamailio.org/wiki/cookbooks/5.5.x/core#tcp_reuse_port

Then have a look for example to this discussion: 
https://lists.kamailio.org/pipermail/sr-users/2019-November/107222.html

Cheers,

Henning

-- 
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com

-Original Message-
From: sr-users  On Behalf Of Matthias 
Urlichs
Sent: Friday, February 25, 2022 9:32 AM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] Re-using an existing TLS connection

Hello,

My problem: our provider opens a TLS connection to us. They want us to use this 
channel for outgoing calls, instead of opening a new SIP connection to their 
server.

Is there a way to teach Kamailio to do that?

--
-- Matthias Urlichs

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users