how does the ISP work
# ask-ai
a
how does the ISP work
t
Thanks for reaching out, Basil. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you help me understand what you mean by "ISP"? Are you talking about Internet Service Providers in relation to LiveKit, or is it something specific within LiveKit itself? I'm here to help!
a
I meant SIP URI
t
Hey there! Just wanted to give you a quick rundown on the SIP URI in LiveKit. Think of it as the address that helps route SIP (Session Initiation Protocol) calls between traditional phone systems and LiveKit rooms. It’s what makes it possible for phone calls to join in on WebRTC-based LiveKit sessions by setting up who’s calling and who’s receiving during SIP signaling. If you’re using LiveKit Cloud, the SIP URI looks like this:
sip:{sip_subdomain}.{region_name}.sip.livekit.cloud
. Here, the subdomain matches your project ID, and the region tells you where it’s hosted (like
eu
or
us
). Or, if you prefer, there’s a global endpoint you can use without specifying the region:
sip:{sip_subdomain}.sip.livekit.cloud
. To get SIP up and running, here’s what you’ll want to set up: • Inbound SIP Trunks: This lets you authenticate and accept incoming calls from certain IP addresses or phone numbers. • SIP Dispatch Rules: These rules help route incoming calls to the right rooms or participants. • Outbound SIP Trunks: Use these to make calls to outside numbers through the
CreateSIPParticipantRequest
API. The SIP service works with UDP, TCP, or TLS protocols and uses RTP media ports to handle the media part of calls. Once the call connects, the SIP participant joins the LiveKit room as a unique participant, so they can interact with everyone else using WebRTC. If you want to dive deeper into setting up SIP trunks, dispatch rules, or any other details, just give me a shout—I’m here to help! Sources: LiveKit Server Components | livekit/livekit_composite | DeepWiki | packages/sip--um-actually/README.md | README.md | livekit/livekit_sip.pb.go | lib/livekit/proto/livekit_sip_pb.rb
a
Can any telecom providers route calls to my livekit SIP ?
t
Absolutely! Any telecom provider that supports SIP (Session Initiation Protocol) can route calls to your LiveKit SIP. LiveKit is built to work smoothly with all SIP providers, making it easy for you to handle both inbound and outbound calls. While LiveKit plays well with many providers, we've specifically tested it with: • Twilio • Telnyx • Exotel • Plivo Here’s a simple way to get your SIP provider connected with LiveKit: 1. Grab a phone number from your SIP provider. 2. Set up the SIP trunk to route calls to your LiveKit SIP instance. 3. Create an inbound or outbound trunk in LiveKit using your provider’s details. If you’d like a hand with any part of the setup or have questions about configurations, just give me a shout—I’m here to help! Sources: SIP overview | LiveKit Docs | Accepting inbound calls | LiveKit Docs | Making outbound calls | LiveKit Docs | SIP trunk setup | LiveKit Docs