Static IP requirement for SIP trunk authentication with LiveKit Cloud

We’re integrating telephony with LiveKit using SIP trunking, and we’ve run into an authentication requirement from our telephony provider that we’d like guidance on.

The issue:
Our provider authenticates SIP traffic by IP whitelisting only. They need one static IP address that LiveKit will use to send SIP signaling and media to them. They don’t support username/password (digest) authentication, and they’ve told us they can’t whitelist large IP ranges.

We’re also open to a custom or other solution if LiveKit can offer one, such as a dedicated IP, an add-on, or a tailored setup for our use case. Please let us know what options are available and how we can get started.

Hi, we can’t offer static IP addresses on LiveKit Cloud but most folks solve this by adding an intermediary SIP proxy like Kamailio. So, you would self-host Kamailio, which would expose a static IP address to your current provider, then you would connect to Kamailio from LiveKit.

Somebody shared a really good diagram a while back with their setup, but I can’t find it now :angry:

Sorry I don’t have a better guide I can share, creating one is on my backlog

Another option besides running your own Kamailio: use a SIP trunk provider that supports digest (username/password) authentication. LiveKit Cloud outbound trunks accept auth_username / auth_password, so the provider doesn’t need to whitelist LiveKit’s IPs at all.

Disclosure: I work at A1 Telecom (a1call.me). Our trunks support either IP-based or credential-based auth, plus SIP over TLS with voice encryption, so this setup works out of the box. Happy to share a config example if useful.