I want to develop a voicebot with livekit that can...
# ask-ai
f
I want to develop a voicebot with livekit that can handle incoming calls. Sinch is my telephony provider. I do not want to use Livekit cloud, i want to self host. What do i need deploy for this solution
t
Thanks for reaching out, Heidi. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
If you're looking to build a self-hosted voicebot with LiveKit that can handle incoming calls using Sinch as your telephony provider, here’s a friendly rundown of what you’ll need: • LiveKit Server: You’ll want to deploy the LiveKit server on a virtual machine using Docker Compose. Make sure you have a domain name, SSL/TLS certificates, and that the necessary ports are open (like 443, 7881, 3478/UDP, 50000-60000/UDP). • SIP Server: Since this is self-hosted, you’ll need to set up a SIP server separately. This will take care of the telephony integration by managing SIP signaling and media for your phone calls. • SIP Trunk: Grab a SIP trunk and phone number from your telephony provider, Sinch, to get things connected. • LiveKit Agents: Use the LiveKit Agents framework to build the voicebot’s logic. You can configure it with services like ASR (for example, Deepgram), TTS, and LLMs to handle conversations smoothly. • Network Configuration: Don’t forget to set up your DNS properly and open additional ports for SIP (like 5060 for signaling and 10000-20000/UDP for media). If you want to dive deeper, the VM deployment guide and SIP server guide have all the detailed steps you’ll need. Sources: Deploy to a VM | LiveKit Docs | Deploying LiveKit | LiveKit Docs | Self-hosted SIP server | LiveKit Docs | SIP overview | LiveKit Docs | Making calls using SIP | LiveKit Docs
f
I want to deploy livekit in kubernetes using your helm chart. Does that deploy the SIP server as well
t
Just a heads-up: the LiveKit Helm chart doesn’t include the SIP server. It’s mainly designed to get the core LiveKit server components up and running for WebRTC and media routing. If you’re looking to use SIP features, you’ll need to set up the SIP server separately when you’re self-hosting. No worries though—you can find all the step-by-step guidance you need in the SIP server deployment documentation. We’ve got you covered! Sources: Kubernetes & Helm Charts | livekit/livekit_composite | DeepWiki | LiveKit Server Components | livekit/livekit_composite | DeepWiki | SIP overview | LiveKit Docs | Helm & Kubernetes Deployment | livekit/livekit_composite | DeepWiki