This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Youssef. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Let’s walk through how to set up your self-hosted LiveKit server with a SIP server using Docker Compose and YAML files. Here’s a simple step-by-step guide: 1. Start by using the provided
docker-compose.yaml
file to deploy LiveKit, Redis, and the SIP server. Make sure to include
network_mode: host
so the SIP and RTP ports work smoothly. 2. Next, configure your SIP server with environment variables or a separate
config.yaml
file. Important settings to check are the SIP signaling port (5060), RTP media ports (10000-20000), and the Redis connection details. 3. Don’t forget to adjust your firewall settings to allow traffic on SIP (5060) and RTP (10000-20000) ports. Also, ensure your server has a public IP or that NAT/port forwarding is set up correctly. 4. Finally, use the
livekit-cli
to set up SIP trunks and dispatch rules, so calls are properly routed to LiveKit rooms. If you’d like, I’m here to help with advice tailored to your specific setup—whether you’re working in the cloud or dealing with NAT configurations. Just let me know! Sources: Self-hosted SIP server | LiveKit docs | test/integration/sip_test.go | Ports and firewall | LiveKit Docs