many-forest-60185
10/30/2025, 7:23 PMtall-airline-16756
10/30/2025, 7:23 PMtall-airline-16756
10/30/2025, 7:23 PMSTANDARD and SIP, so you might want to override the RoomInputOptions to include the identity of the target agent.
2. Verify Room and Participant States: Try using the LiveKit API to list the participants in the room. This way, you can confirm that both agents and the SIP participant are present, which helps spot if one agent is missing or disconnected.
3. Monitor SIP Call Status: Keep an eye on the SIP participant's call status (such as "dialing," "active," or "hangup") to ensure the call is moving along as expected. Logging these status changes can be really useful for debugging.
4. Review Dispatch Logic: Double-check that only one agent is dispatched to the room. Sometimes, if multiple agents are dispatched, it can cause conflicts or race conditions.
5. Disable Console Mode: If you’re running in console mode, certain actions like room deletion or adding SIP participants might be ignored. Make sure the job context is properly initialized for production to avoid this.
6. Validate SIP Trunk Configuration: Confirm that your outbound SIP trunk is set up correctly and that the API key has all the permissions it needs.
7. Debug Outbound Calls: Use the wait_until_answered option when creating the SIP participant, and check the SIP logs for any errors like "invite-failed" or "media-failed."
I hope these steps help you identify and resolve the issue. Please feel free to reach out if you'd like any further guidance or support with any of these steps—I’m here to help!
Sources: livekit-agents/livekit/agents/job.py | telephony/make_call/make_call.py | test/lktest/livekit.go | Make outbound calls | LiveKit Docsmany-forest-60185
10/30/2025, 7:25 PMtall-airline-16756
10/30/2025, 7:25 PMimport { RoomServiceClient } from 'livekit-server-sdk';
const client = new RoomServiceClient('ws://localhost:7880', 'API_KEY', 'API_SECRET');
const participants = await client.listParticipants('room_name');
console.log(participants);
• Python:
from livekit.api import LiveKitAPI
api = LiveKitAPI("http://localhost:7880", "API_KEY", "API_SECRET")
response = await api.room.list_participants(list=ListParticipantsRequest(room="room_name"))
print(response.participants)
• Go:
client := lksdk.NewRoomServiceClient("ws://localhost:7880", "API_KEY", "API_SECRET")
resp, err := client.ListParticipants(context.Background(), &livekit.ListParticipantsRequest{Room: "room_name"})
if err != nil {
log.Fatal(err)
}
fmt.Println(resp.Participants)
• CLI:
lk room participants list --room room_name
Just a quick reminder to make sure your API key includes the roomAdmin permission, and don’t forget to replace 'room_name' with the actual name of your room. If you have any questions or need a hand with anything else, please feel free to reach out—I’m here to help!
Sources: cmd/lk/room.go | Managing participants | LiveKit docs | packages/livekit-server-sdk/src/RoomServiceClient.ts | livekit-api/livekit/api/room_service.py | test/lktest/livekit.go