microscopic-dress-75199
09/24/2025, 6:43 AMtall-airline-16756
09/24/2025, 6:43 AMtall-airline-16756
09/24/2025, 6:43 AMmicroscopic-dress-75199
09/24/2025, 6:44 AMtall-airline-16756
09/24/2025, 6:45 AMlocalhost or an internal Docker IP might seem convenient, but it will make the SIP server unreachable from external SIP peers, and we definitely want to avoid that!
Let me walk you through the key steps to get this set up smoothly:
• SIP URI Format: Make sure to use <public-ip-address>:5060.
• Configuration: In your config.yaml, set use_external_ip: true. This helps the SIP server detect and use the public IP via STUN, which is especially important if you're running in a cloud or behind NAT.
• Docker Networking: Run your container with --network host mode to properly expose the UDP ports and allow access through the public IP.
Also, please double-check that ports 5060 (for SIP signaling) and 10000–20000 (for RTP media) are open and accessible from the internet by adjusting your firewall and network settings. This step is key to making sure everything communicates smoothly.
Sources: pkg/sip/types.go | Self-hosted SIP server | LiveKit Docs