I'm setting up a sip outbound call. I've made the ...
# ask-ai
b
I'm setting up a sip outbound call. I've made the call successfully via cli
lk sip participant create xxx.json
. The call rang, and when I pick up I heard nothing. I understand that the agent has been dispatched to the room yet. What is easiest approach to invite the bot into the room?
t
Thanks for reaching out, Jura. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It sounds like you’ve placed the outbound SIP call successfully, but there’s no audio because the agent/bot hasn’t joined and published audio yet. To invite the bot into the same room, you have two straightforward options: • Use explicit agent dispatch (recommended for control): 1) Dispatch the agent to the exact
room_name
you used in
CreateSIPParticipant
. 2) Verify the agent joins and publishes audio tracks. Agent dispatch • Use token-based room configuration (auto-dispatch on join): 1) Generate an access token that includes
roomConfig
with
agents
(RoomAgentDispatch). 2) When the SIP participant connects, the agent is auto-dispatched to that room. Server-side token with room config Quick checks to get audio: 1) Confirm your
CreateSIPParticipant
used the intended
room_name
. Making outbound calls 2) Ensure the agent joins that same room (room names must match exactly, e.g., in Node samples). Agents telephony integration 3) Make sure the agent publishes audio (TTS/output enabled) so the caller hears it. Agent speech and audio If you share the
room_name
used in your
lk sip participant create
JSON and how you’re dispatching the agent, I can suggest the exact commands/payload. Sources: Making outbound calls | LiveKit Docs | Accepting inbound calls | LiveKit Docs | Agents telephony integration | LiveKit Docs | Agent dispatch | LiveKit Docs | Server-Side SDKs & Authentication | livekit/livekit_composite | DeepWiki
b
is it really possible to make automatic dispatch for outbound call?
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!