ancient-motherboard-43726
09/06/2025, 3:14 PMtall-airline-16756
09/06/2025, 3:14 PMtall-airline-16756
09/06/2025, 3:15 PMagentName in your dispatch rule exactly matches the agent_name set in the agent's WorkerOptions. Even a small mismatch can stop the agent from joining.
2. Make sure the dispatch rule is set up properly to route calls to the right LiveKit room. The roomPrefix and other settings should fit your setup perfectly.
3. Take a peek at the SIP server logs for any errors related to the dispatch rule or agent assignment. Watch out for error codes like 403, 404, or 503βthey often point to configuration hiccups.
4. Also, confirm that your Twilio SIP trunk is configured correctly with the Origination URI pointing to your LiveKit SIP server's public IP or domain, and that the necessary ports (5060 for SIP, 7880/443 for LiveKit) are open and ready.
If youβve tried all this and things still arenβt working, no worries! We might need some more detailed logs from the LiveKit SIP server and the agent app to dig deeper. Just let me know if you want a hand collecting or going through those logsβIβm here to help!
Sources: Inbound calls with Twilio Voice | LiveKit Docs | SIP troubleshooting guide | LiveKit Docs | src/setup-livekit.ts | packages/sip--um-actually/README.md | Getting Help | livekit/livekit_composite | DeepWikitall-airline-16756
09/06/2025, 3:19 PMancient-motherboard-43726
09/06/2025, 3:34 PMtall-airline-16756
09/06/2025, 3:35 PMallowed_numbers in your SIP inbound trunk arenβt accidentally blocking the call.
4. Try turning on detailed logging to catch the disconnect_reason for the participant. If you see USER_REJECTED, thatβs a clear sign of the 486 error.
5. Give it a test run with different numbers or endpoints to see if itβs just one recipient or a wider issue.
If none of these tips do the trick, we might need to dig into some extra logs from the LiveKit SIP server and the agent app to get to the bottom of this. Just let me know if you want a hand with gathering or going through those logsβIβm here to help!
Sources: livekit-protocol/livekit/protocol/sip.py | SIP troubleshooting guide | LiveKit Docs | Getting Help | livekit/livekit_composite | DeepWiki | SIP Integration | livekit/livekit_composite | DeepWiki | protobufs/livekit_models.protoancient-motherboard-43726
09/06/2025, 3:38 PMtall-airline-16756
09/06/2025, 3:38 PMallowed_numbers field to your setup.
2. If your SIP provider needs authentication, donβt forget to include auth_username and auth_password.
3. Double-check that the dispatch rule is properly linked to this trunk and routes calls to the right LiveKit room.
4. Give it a quick test by calling the number and see if it connects to the correct room.
If anything feels off or you run into trouble, just reach outβIβm here to help!
Sources: Accepting inbound calls | LiveKit Docs | SIP inbound trunk | LiveKit Docs | SIP APIs | LiveKit Docs | livekit-protocol/src/livekit.rs | livekit/livekit_sip.pb.goancient-motherboard-43726
09/06/2025, 3:39 PMtall-airline-16756
09/06/2025, 3:40 PMancient-motherboard-43726
09/06/2025, 3:48 PMtall-airline-16756
09/06/2025, 3:48 PMancient-motherboard-43726
09/06/2025, 3:49 PMtall-airline-16756
09/06/2025, 3:50 PMload_fnc) to look at things like memory use or queue length instead of just CPU usage.
If youβd like, Iβm here to help you adjust these settings or dig deeper into how your workerβs behaving. Just let me know!
Sources: Deploying to custom environments | LiveKit Docs | agents/src/worker.ts | Voice Assistants | livekit/livekit_composite | DeepWiki | livekit-agents/livekit/agents/worker.py | Deployment and scaling | LiveKit Docsancient-motherboard-43726
09/06/2025, 3:55 PMtall-airline-16756
09/06/2025, 3:55 PM