miniature-egg-88949
11/28/2025, 11:24 AMHere is what happened:Missed Call from 09503813535 at Fri, 28 Nov 2025 16:05:07. One or all of the agents failed to attend or were busy The number 02247790694 received a call from 09503813535 at Fri, 28 Nov 2025 16:05:07 The call was routed to sip:4j7vfy40b9i.sip.livekit.cloud, whose number we could not reachtall-airline-16756
11/28/2025, 11:24 AMtall-airline-16756
11/28/2025, 11:25 AMsip: prefix). In your error it shows 4j7vfy40b9i.sip.livekit.cloud — please verify that matches your Project’s SIP endpoint.
• If Exotel needs a transport parameter, try adding ;transport=tcp or ;transport=tls to the SIP URI in Exotel’s trunk settings.
• Check any username/password or auth settings that Exotel may send — ensure they match what LiveKit expects for your inbound trunk.
• Verify your LiveKit inbound trunk and dispatch rule: is the trunk active and does the dispatch rule route calls to an active agent or SIP registration?
• Confirm the LiveKit agent/worker that should receive the call was running/registered at the time of the call.
• If you use region pinning, ensure the call is coming from an allowed region for your project.
To help me pinpoint the problem, please share:
1. The exact SIP URI string you configured in Exotel (you can redact secrets).
2. Whether you added a transport param (tcp/tls) in Exotel.
3. Whether you use LiveKit Phone Numbers or a third‑party trunk, and a brief description of your dispatch rule (where calls should route).
4. Whether the receiving agent was online/registered when the call arrived.
Send those details and I’ll suggest the next specific steps.
Sources: SIP trunk setup | LiveKit docs | SIP inbound trunk | LiveKit docs | Create and configure a Plivo SIP trunk | LiveKit docs | Secure trunking | LiveKit docs | SIP cloud and region pinning | LiveKit docsminiature-egg-88949
11/28/2025, 11:29 AM{
"sipDispatchRuleId": "SDR_quQ8py5Ux9yZ",
"rule": {
"dispatchRuleIndividual": {
"roomPrefix": "call-48e23290-"
}
},
"trunkIds": [
"ST_AKbeCAFkj2NH"
],
"name": "dispatch-48e23290",
"metadata": "{\"agentConfigId\":\"48e23290-9ef4-483f-ad32-103ddd8400a1\",\"phoneNumber\":\"+9102247790694\"}",
"roomConfig": {
"agents": [
{
"agentName": "studio-voice-agent"
}
]
}
}
4. Yes the agent was active. Here are the agent details:
A_ud42TpAZ4DzU
studio-voice-agenttall-airline-16756
11/28/2025, 11:29 AMsip:4j7vfy40b9i.sip.livekit.cloud:5060;transport=tcp.
Immediate checks and next steps you can run now
1. Confirm Exotel should send the SIP URI without the sip: prefix; in their UI use 4j7vfy40b9i.sip.livekit.cloud:5060;transport=tcp.
2. Verify Exotel is sending the INVITE to port 5060 over TCP (not UDP). Ask Exotel or check their trunk settings/logs to confirm transport actually used.
3. Check LiveKit inbound-trunk credentials/auth:
◦ If your trunk requires digest auth or a username/password, confirm Exotel is configured to provide those credentials.
1. Inspect SIP signaling/headers in Exotel logs and LiveKit call logs at the timestamp (Fri, 28 Nov 2025 160507) to see the exact SIP response code or connection failure reason.
2. Confirm firewall/NAT rules allow TCP traffic to port 5060 on 4j7vfy40b9i.sip.livekit.cloud from Exotel’s outbound IP ranges. If Exotel uses dynamic IPs, you may need to allow their full range or request their egress IPs.
3. Region/edge mismatch: ensure Exotel’s egress region can reach the LiveKit SIP edge for your project. If you have region pinning, confirm calls route to the pinned region.
If the above checks don’t reveal the issue, please provide two items so I can narrow this down:
• The SIP response or error from Exotel logs for that call (SIP status code like 4xx/5xx or a transport error message).
• A short excerpt of the Exotel INVITE (headers) or LiveKit log for that call timestamp (redact any secrets).
I can then map the SIP response to the most likely failure (auth, transport, firewall, or routing) and give exact fixes. Would you like me to prioritize checking transport/auth or the firewall/region aspects first?miniature-egg-88949
11/28/2025, 11:34 AMtall-airline-16756
11/28/2025, 11:34 AMminiature-egg-88949
11/28/2025, 11:35 AMtall-airline-16756
11/28/2025, 11:35 AMroomConfig.agents).
4. Trigger an inbound call from Exotel and watch LiveKit call logs / agent status for the incoming INVITE and allocation to the new agent.
5. If the call connects to the cloud agent, the issue is your local agent (NAT/firewall/port forwarding). If it still fails with the same “could not reach” message, share the SIP response or LiveKit call log for that attempt.
If you’d like, tell me the new agent name you’ll use and I’ll confirm whether your current dispatch rule needs any change.miniature-egg-88949
11/28/2025, 12:01 PMtall-airline-16756
11/28/2025, 12:01 PMroomConfig.agents (either replace the old agent name or add the new one).
• Check LiveKit call/agent logs at the time you started the cloud agent for any errors (auth, connection refused, or TLS/transport failures).
Please paste these details (redact secrets):
1. The cloud agent name you created and the exact entry in roomConfig.agents (if changed).
2. A brief excerpt of the agent startup logs showing connection/register attempts and any error lines.
3. The LiveKit call or agent log lines at the timestamp when you attempted the test (any SIP INVITE, registration, or error messages).
With those I’ll map the failure (auth, token, transport, or dispatch rule mismatch) and give the exact next steps.miniature-egg-88949
11/28/2025, 1:08 PMtall-airline-16756
11/28/2025, 1:09 PMlk agent logs
This tails runtime logs for the agent defined in your current directory’s livekit.toml.
1. To target a specific agent:
lk agent logs --id CA_MyAgentId
1. To view build logs:
lk agent logs --log-type=build
Using the LiveKit Cloud dashboard
• Open your project → Agent insights / Sessions. Runtime logs appear there if Agent Observability is enabled and the agent was started with observability (e.g., record=True).
Notes
• Cloud runtime logs are real‑time only unless you forward them to an external service (Datadog, CloudWatch, Sentry, etc.) via configured secrets.
• If you paste the runtime log errors you see (redact secrets), I’ll help interpret them and next steps. Sources: Log collection | LiveKit Docs | Agent deployment CLI reference | LiveKit docs | Agent insights in LiveKit Cloud | LiveKit docs | Streamline Troubleshooting with Agent Observabilityminiature-egg-88949
11/28/2025, 1:12 PMtall-airline-16756
11/28/2025, 1:13 PMlk agent logs --id <YOUR_AGENT_ID>
or just lk agent logs if your current directory targets that agent.
• Dashboard: open Agent insights / Sessions if Agent Observability is enabled.
3) Inspect SIP participant attributes in your agent (real‑time)
• In your agent code or via SDK, log SIP attributes for incoming participants: sip.callID, sip.phoneNumber, sip.callStatus, sip.trunkID.
4) Useful artifacts to paste here (redact secrets)
• The Call Log entry from Telephony for the timestamp (including any SIP status code/message).
• Your cloud agent runtime log lines around the time you started it (registration/connect attempts and any errors).
• Any SIP-related attributes or short SIP trace excerpt your agent captured.
If you share those three items, I’ll map the error to the likely cause (transport/firewall, routing/dispatch, or agent registration mismatch) and provide exact fixes. Would you like steps to enable Agent Observability or to run the lk agent logs command now?
Sources: SIP participant | LiveKit docs | Using Wavix to accept and make calls | LiveKit docs | Make outbound calls | LiveKit docs | SIP troubleshooting guide | LiveKit docs | Say hello to improved Cloud analyticsminiature-egg-88949
11/28/2025, 1:25 PMtall-airline-16756
11/28/2025, 1:25 PM