Docs Use cases

A static IP for LiveKit SIP

Carriers and PBXs that allow traffic by address need one IP to put on their list. With RelayDock, they reach your LiveKit agent through a single static IP.

The problem

Carriers and PBX firewalls often accept SIP only from addresses on an allowlist, and the allowlist usually takes single addresses.

LiveKit Cloud publishes static IP ranges for some of its regions: blocks of addresses, not a single one. In the other regions you allow wildcard domains instead, which an IP allowlist can't hold.

What RelayDock does

  • One address for SIP. Signaling always passes through RelayDock. Registrations and outbound calls reach your carrier or PBX from your team's static IP, and your carrier sends inbound calls to your SIP address on the same IP.
  • One address for audio, when you need it. In Automatic mode, audio flows directly between your carrier and LiveKit. If your carrier filters media by address too, set the endpoint to Always Relay: audio then flows through the static IP in both directions.
  • LiveKit is set up for you. RelayDock creates the trunks and the dispatch rule in your LiveKit project and reaches LiveKit over TLS.

Relayed minutes count against your plan first and cost more than direct ones beyond it. See Audio modes.

What to allow

Your team's Static IP and SIP address are in the strip at the top of the panel's Overview. On your carrier or PBX:

  • Allow the static IP for SIP. RelayDock connects to your registrar or carrier from it for registrations and outbound calls.
  • With Always Relay, or when Automatic relays a call, allow the static IP for RTP too.

RelayDock listens on the static IP:

Traffic Protocol Port
SIP signaling UDP and TCP5060
SIP over TLS TCP5061
Relayed audio (RTP) UDP20000–40000

Prefer TCP or TLS to UDP. Network and security has the TLS details and how each leg of a call is authenticated.

Shared or dedicated

The static IP is shared between teams on Starter, Pro and Business. Enterprise comes with dedicated static IPs. See pricing.

Set it up

  1. Getting started: request access and connect your LiveKit project.
  2. Endpoints: add a Registration or a Trunk endpoint and choose where the audio flows.
  3. Test calls and inbound checks: check both call directions after your carrier has allowed the address.