magnificent-jelly-58282
10/31/2025, 8:56 AMtall-airline-16756
10/31/2025, 8:56 AMtall-airline-16756
10/31/2025, 8:56 AMdocker-compose up for the SIP server. The docker-compose.yaml file we provided is thoughtfully designed so that both the LiveKit server and the SIP server can run together smoothly and communicate with each other. Actually, the SIP server depends on the LiveKit server being up and accessible to work properly. If you have any questions or need further help, feel free to ask!
Sources: Self-hosted SIP server | LiveKit docs | test/client/README.mdmagnificent-jelly-58282
10/31/2025, 8:59 AMtall-airline-16756
10/31/2025, 9:00 AMws_url in your SIP server configuration to point to your existing LiveKit server (for example, `ws://your-livekit-host:7880`).
3. Use host networking: When running the SIP container, use --network host or make sure to properly map UDP ports 5060 (SIP) and 10000-20000 (RTP).
4. Set environment variables or a config file: Provide your api_key, api_secret, and the ws_url either through environment variables or a config file using SIP_CONFIG_BODY or SIP_CONFIG_FILE.
Here’s an example command to run the SIP server:
docker run --rm \
-e SIP_CONFIG_BODY="api_key: your-key
api_secret: your-secret
ws_url: ws://your-livekit-host:7880
redis:
address: your-redis-host:6379" \
--network host \
livekit/sip
Also, please double-check that your firewall settings allow access to SIP (port 5060) and RTP (ports 10000-20000) from the internet. If you have any questions or need further help, I’m here for you!
Sources: test/integration/sip_test.go | Self-hosted SIP server | LiveKit docs