proud-match-31207
08/13/2025, 5:54 AMtransport protocol option to enable TLS. So what needs to be done to enable TLS for Inbound trunk - do we just need to enable media_encryption as SIP_MEDIA_ENCRYPT_ALLOW?proud-match-31207
08/13/2025, 8:36 AMgorgeous-insurance-84392
08/13/2025, 10:28 AMproud-match-31207
08/13/2025, 10:37 AMafter the initial SIP dialog had been created.Yes I understand that the media server will be offloaded to a different server But I am talking about the initial SIP dialog itself where LiveKit needs to send back a 200 OK response. That itself is coming from a different server / ip address. I understand that after the initial SIP dialog, the media path is offloaded to a media server. So wanted to check why the initial SIP dialog itself happens on different servers and is that an expected behavior.
gorgeous-insurance-84392
08/13/2025, 10:42 AMContact , Call-ID and of course to/from tags are properly kept - which will ensure that the signalling doesn't break. If you require signaling to always be pinned to the same IP, due to a limitation on your PBX, than an SBC (either software or service) will be the correct solution for you.gorgeous-insurance-84392
08/13/2025, 10:48 AMproud-match-31207
08/13/2025, 10:50 AMContact, Call-ID and other tags are correct from LiveKit. I will check back with the dialer team once.
Also - possible for you to answer how we can enable TLS support for the inbound trunk? There is NO transport option for Inbound trunk creation.
There is however media_encryption flag that encrypts media.
The basic question is how can I enable TLS as the transport for the inbound trunk and what would be the URL of the TLS supported trunk - will the URL now become sips:<username>@subdomain.sip.livekit.cloud instead of the sip protocolgorgeous-insurance-84392
08/13/2025, 11:05 AMmedia_encryption they may refer to passing signalling over normal TCP, while passing the SDP payload with an SAVP media type. But again, as I said, if TLS and IP Pinning is a requirement - I highly recommend to front-end your PBX with an SBC.gorgeous-insurance-84392
08/13/2025, 11:06 AMrefined-appointment-81829
08/13/2025, 11:07 AMgorgeous-insurance-84392
08/13/2025, 11:07 AMgorgeous-insurance-84392
08/13/2025, 11:08 AMrefined-appointment-81829
08/13/2025, 11:11 AMgorgeous-insurance-84392
08/13/2025, 11:11 AMgorgeous-insurance-84392
08/13/2025, 11:12 AMrefined-appointment-81829
08/13/2025, 11:12 AMgorgeous-insurance-84392
08/13/2025, 11:12 AMrefined-appointment-81829
08/13/2025, 11:12 AMrefined-appointment-81829
08/13/2025, 11:13 AMproud-match-31207
08/13/2025, 11:14 AMone tip is try and make sure everything else is working well before turning on TLS otherwise it will be harder to debugYes - that is why I have put this on hold till we are able to atleast make a call. Also - Can you please help how to enable the TLS for the inbound just for me to be aware ahead of time? Is it just enabling the media encryption to
SIP_MEDIA_ENCRYPT_ALLOW? Does the SIP Address change if we allow tls?
The port is also a valid question from Nir that I was about to ask.gorgeous-insurance-84392
08/13/2025, 11:15 AMrefined-appointment-81829
08/13/2025, 11:15 AMgorgeous-insurance-84392
08/13/2025, 11:15 AMproud-match-31207
08/13/2025, 11:16 AMgorgeous-insurance-84392
08/13/2025, 11:16 AMgorgeous-insurance-84392
08/13/2025, 11:17 AMrefined-appointment-81829
08/13/2025, 11:18 AMproud-match-31207
08/13/2025, 11:19 AMmedia_encryption to SIP_MEDIA_ENCRYPT_ALLOW on the inbound trunk and then ask the dialer team to send the streams over - sip:+18998009999@4sen7zyruwn.sip.livekit.cloud:5061;transport=tls
Can you pls help if my understanding and URI configuration is correct?refined-appointment-81829
08/13/2025, 11:19 AMrefined-appointment-81829
08/13/2025, 11:19 AMproud-match-31207
08/13/2025, 11:20 AM5061 for TLS on livekit - just being extra careful here. Sorry if this is causing multiple back and forthsrefined-appointment-81829
08/13/2025, 11:22 AMrefined-appointment-81829
08/13/2025, 11:22 AMgorgeous-insurance-84392
08/13/2025, 11:22 AMsips decorator. For a few year, sips became a de-facto standard for UA SIP signalling, while using the abbreviated ;transport=tls decorator became the standard for b2b (gateway to gateway) signalling. Today, most platforms will no longer support sips for some reason - I'm not sure why that is.proud-match-31207
08/13/2025, 11:24 AMI believe 5060Thanks I updated my message to reflect 5060 as the port. But all traffic being received on the same port. Does TLS negotiation happen before reaching to this port then?
gorgeous-insurance-84392
08/13/2025, 11:25 AMrefined-appointment-81829
08/13/2025, 11:25 AMgorgeous-insurance-84392
08/13/2025, 11:25 AMrefined-appointment-81829
08/13/2025, 11:25 AMrefined-appointment-81829
08/13/2025, 11:26 AMproud-match-31207
08/13/2025, 11:27 AMrefined-appointment-81829
08/13/2025, 12:04 PM;transport=tls to enable TLS encryption and the port is 5061proud-match-31207
08/13/2025, 12:05 PMrefined-appointment-81829
08/15/2025, 11:08 AM