Can I have self-hosted sip gateway and cloud serve...
# ask-ai
n
Can I have self-hosted sip gateway and cloud server integrated togther?
t
Thanks for reaching out, Rafał. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
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
n
so, redis connection is not required for cloud livekit server?
t
When you're connecting a self-hosted SIP gateway with a LiveKit Cloud server, you'll need a Redis connection. Redis plays a key role in storing session states and helping the SIP service and LiveKit server communicate smoothly. Without Redis, the SIP service won’t be able to work properly since it depends on Redis to manage SIP sessions and coordinate with the LiveKit server. This is true whether you're using a self-hosted or cloud-based LiveKit server. If you'd like a hand setting up Redis for your system, just give me a shout—I’m here to help! Sources: SIP overview | LiveKit Docs | Self-hosted SIP server | LiveKit Docs | Self-hosted SIP server | LiveKit Docs | Distributed Setup | LiveKit Docs | Distributed Setup | LiveKit Docs
n
https://github.com/livekit/sip/issues/256?utm_source=chatgpt.com Based on the issue it doesn't work. Can you verify?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!