Thanks so much for reaching out with your question! I’d love to help clarify how LiveKit SIP Inbound mode works. Instead of acting like a SIP client that registers with a SIP provider using an ID, password, and URL, it actually functions as a SIP server. This means it directly receives SIP INVITE requests from your SIP trunking provider.
Here’s how it works: your SIP trunking provider sends an INVITE request to LiveKit SIP, which then authenticates the trunk credentials and checks for a matching dispatch rule. While LiveKit does support username and password authentication for inbound trunks, this is specifically for authenticating those incoming SIP invites—not for client registration.
If you’re looking for SIP client registration functionality, you’d want to consider implementing that separately or using a different SIP solution that supports client registration. From there, you can route calls to LiveKit SIP as needed. I hope this helps clear things up! Please feel free to ask if you have any more questions or need further assistance.
Sources:
README.md |
Accepting inbound calls | LiveKit Docs |
protobufs/livekit_sip.proto |
SIP inbound trunk | LiveKit Docs |
packages/sip--um-actually/src/setup-livekit.ts