Docs Guides
Network and security
What your carrier or PBX needs to reach RelayDock, what to allow on your side, and how each leg of a call is authenticated.
Your addresses
The strip at the top of the panel's Overview shows your team's Static IP and SIP address. Give the SIP address to your carrier as the destination for a trunk; give the static IP to carriers and PBXs that allow traffic by address. The static IP is shared between teams on all plans except Enterprise.
Ports
RelayDock listens on the static IP:
| Traffic | Protocol | Port |
|---|---|---|
| SIP signaling | UDP and TCP | 5060 |
| SIP over TLS | TCP | 5061 |
| Relayed audio (RTP) | UDP | 20000–40000 |
Prefer TCP or TLS to UDP: a UDP packet's source address can be forged, which matters when a trunk is authenticated by IP address only. Provider templates use TCP.
What to allow on your side
- Registrations and outbound calls. RelayDock connects to your registrar or carrier from the static IP. If your carrier or PBX only accepts known addresses, allow the static IP for SIP.
- Relayed audio. With Always Relay, or when Automatic relays a call, audio flows between your carrier and the static IP. If media is filtered by address, allow the static IP for RTP too.
- Direct audio flows between your carrier and your agent platform, not RelayDock.
TLS
- RelayDock's certificate is issued for
sip.relaydock.ioand its subdomains. Connect to your SIP address by name over TLS so that the name matches. - When RelayDock connects to your registrar or carrier over TLS, it checks that the certificate matches the host name on the endpoint. A mismatch ends the call with
502 tls-mismatch. - RelayDock always reaches LiveKit over TLS.
How each leg is authenticated
| Leg | How |
|---|---|
| RelayDock → registrar | The endpoint's SIP user name and password (digest). After 3 authentication failures in a row RelayDock stops trying until you fix the credentials and retry. |
| Carrier → RelayDock (trunk) | The carrier's IP addresses on the endpoint, the carrier's digest user name and password, or both. RelayDock challenges with the realm relaydock. |
| RelayDock → carrier (trunk outbound) | By IP address only, or with the digest user name and password you set on the endpoint. |
| RelayDock ↔ LiveKit | SIP credentials that RelayDock generates for each endpoint and stores on its LiveKit trunks. You don't manage them. |
Passwords you enter are stored encrypted and never returned by the panel or the API. The carrier IP addresses on a trunk must be public, /16 or narrower; registrar and carrier addresses can't be private, loopback or reserved.
Safeguards
- Floods and password guessing. RelayDock blocks addresses that send too many requests or repeated wrong digest passwords, for a while. The carrier addresses on your endpoints are exempt.
- Plan limits. Each plan caps concurrent calls and new calls per second (
plan-limit,cps-limit). - Outbound fraud. Emergency numbers are refused, premium and satellite prefixes are blocked, and each team has a daily outbound minute limit. Write to support to change a limit or allow a blocked prefix.
- API keys act with member rights: they can manage endpoints, but not billing, members or API keys, and they can't connect or replace the LiveKit project. Revoke a key in Settings → API keys; it stops working immediately.
- LiveKit key. Give RelayDock its own LiveKit API key, used for nothing else, so you can replace it without touching your agents. See Getting started.