Yes, you can integrate a self-hosted SIP gateway with a LiveKit Cloud server. LiveKit supports hybrid deployments, allowing self-hosted components to work alongside cloud services.
To achieve this:
1. Configure your self-hosted SIP server to connect to the LiveKit Cloud instance using the appropriate API keys, WebSocket URL, and Redis connection details.
2. Ensure the SIP server’s ports (e.g., 5060 for SIP and the RTP port range) are accessible from the public internet.
3. Test the integration by creating SIP trunks and dispatch rules to ensure calls are routed correctly.
If you need detailed guidance on setting up the SIP configuration file or understanding the network requirements, let me know!
Sources:
livekit/livekit_composite | DeepWiki |
livekit/livekit_composite | DeepWiki |
SIP overview | LiveKit Docs |
README.md |
Self-hosted SIP server | LiveKit Docs