How can i create a conference call between 2 peopl...
# ask-ai
l
How can i create a conference call between 2 people and agent?
t
Thanks for reaching out, Dileep. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Here’s how you can set up a conference call between two people and an agent in LiveKit—super straightforward: 1. Create a LiveKit Room: Start by using the LiveKit server SDK or CLI to create a room where everyone—the participants and the agent—will join. 2. Dispatch the Agent: Next, use the Agent Dispatch API to bring the agent into the room. They’ll join automatically and be ready to help out. 3. Connect Human Participants via SIP: Finally, add the phone participants to the room using a SIP client. Just make sure you have a SIP trunk set up (either outbound or inbound) for this step. If you want to dive deeper, double-check that your SIP trunk is configured and take a look at the Voice AI quickstart guide—it’s great for deploying an agent and testing call flows. And hey, if you hit any bumps or have questions, I’m here to help! Sources: packages/sip--make-a-call/src/agent.ts | Making calls using SIP | LiveKit Docs | Inbound calls with Twilio Voice | LiveKit Docs | telephony/make_call/make_call.py
l
so how to add this 2nd user to a room? will be able to get the transcript of both people?
t
Here’s how you can add a second user to a LiveKit room and get transcripts for both participants: 1. Add the Second User: Just generate an access token for the second user and have them connect to the room using the LiveKit client SDK. No need to worry about server-side stuff here — the user connects with their token, and you’re good to go. 2. Enable Transcription: You’ll want to deploy a LiveKit Agent using the
multi-user-transcriber.py
example. This agent keeps an ear out for new participants and kicks off a transcription session for each one. 3. Access Transcripts: The transcriptions show up as text streams in the room. You can easily display them in your UI or log them along with who said what. If you’d like, I’m happy to help you set up the agent or walk you through configuring the transcription workflow — just let me know! Sources: Example Applications | livekit/livekit_composite | DeepWiki | livekit-agents/livekit/agents/voice/room_io/room_io.py | AI voice agents | LiveKit Docs | Transcription Applications | livekit/livekit_composite | DeepWiki