im self hosting livekit and livekit sip on a priva...
# ask-ai
e
im self hosting livekit and livekit sip on a private VM network, and im using azure openai realtime model, what port do i need to expose for that communication?
t
Thanks for reaching out, Zaid. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
For your self-hosted LiveKit and LiveKit SIP setup on a private VM network, the following ports need to be exposed for SIP communication: • UDP/TCP 5060: For SIP signaling (unencrypted). • TCP 5061: For SIP signaling over TLS. • UDP 10000-20000: For RTP media streams (bidirectional). These ports are essential for the SIP functionality and should be configured in your firewall. You can find these settings in the
sip/config.yml
file of your LiveKit SIP configuration. Regarding the Azure OpenAI real-time model integration, it uses WebSocket connections over standard HTTPS/WSS to communicate with Azure endpoints. No additional ports need to be exposed on your LiveKit server for this integration. Sources: Ports and Firewall | LiveKit Docs | Azure OpenAI Realtime API and LiveKit | LiveKit Docs | SIP Integration | livekit/livekit_composite | DeepWiki