Configure LiveKit SIP inbound trunk and dispatch rule to route phone calls to agent rooms

domain: docs.livekit.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the LiveKit Cloud console (or via the server SDK), create a SIP Inbound Trunk, supplying your SIP trunking provider's origination IPs for IP-based authentication or credential details for digest authentication.
  2. Associate one or more phone numbers with the trunk; the numbers can be LiveKit-provisioned US numbers or numbers ported from a third-party provider (Twilio, Telnyx, etc.).
  3. Create a SIP Dispatch Rule attached to the trunk, specifying how inbound calls are mapped to rooms — e.g. by called number, DNIS, or a static rule that places all calls in a named room.
  4. Deploy a LiveKit Agent in the target room; the agent will receive the participant.connected event when the SIP caller joins and can begin processing audio immediately.
  5. Test end-to-end by dialling the assigned number; verify the caller appears as a participant in the LiveKit room with audio tracks.

Known gotchas

Related routes

Configure Vonage Programmable SIP trunking with inbound call webhooks
developer.vonage.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans