billowy-twilight-56224
12/18/2025, 12:07 PMtall-airline-16756
12/18/2025, 12:07 PMtall-airline-16756
12/18/2025, 12:08 PMbwwn08a2m4o.sip.livekit.cloud).
• If you require TLS, use ;transport=tls or set the provider to use TLS on port 5061.
2) Create an inbound trunk in LiveKit
• Create an inbound trunk that lists the phone numbers you want LiveKit to accept (or leave numbers empty and secure with allowed_addresses or credentials).
• Example JSON for the trunk:
{
"name": "Vonage Inbound Trunk",
"numbers": [
"+15105550100"
],
"krispEnabled": true
}
• You can create this via the LiveKit Cloud dashboard (Telephony → Configuration → Create new → Trunk) or with the CLI: lk sip inbound create inbound-trunk.json.
3) Configure authentication or filtering (optional but recommended)
• If you want to restrict which providers or IPs can send calls, set allowed_addresses or enable `auth_username`/`auth_password`.
• Note: some providers may not support SIP auth, so use IP/transport restrictions as needed.
4) Create a dispatch rule to route inbound calls to rooms/agents
• Define a dispatch rule that maps incoming calls to LiveKit rooms or agent flows. For example, to create an individual room per call:
{
"name": "Inbound Call Rule",
"rule": {
"dispatchRuleIndividual": {
"roomPrefix": "call-"
}
},
"roomConfig": {
"agents": [
{
"agentName": "my-telephony-agent"
}
]
}
}
• Create via Dashboard (Telephony → Configuration → Create new → Dispatch rule) or CLI: lk sip dispatch create dispatch-rule.json.
5) Extras and quality options
• Enable krispEnabled: true on the inbound trunk to apply Krisp noise cancellation.
• Use allowedNumbers or caller-based filters if you need to restrict incoming caller IDs.
If you’d like, tell me:
• the SIP endpoint you plan to use (or confirm you need the project SIP URI),
• whether you want per-call rooms or a shared room/queue,
• and whether you need TLS or IP-based filtering—
and I’ll provide the exact JSON snippets or dashboard steps tailored to that setup.
Sources: SIP overview | LiveKit docs | SIP trunk setup | LiveKit docs | Secure trunking | LiveKit docs | SIP inbound trunk | LiveKit docs | Agents telephony integration | LiveKit docs