Hey everyone! im developing an outbound caller sol...
# agents
c
Hey everyone! im developing an outbound caller solution with agents, i have it all set up and working mostly, except that im seeing something strange that livekit is generating a "phantom"/duplicated dispatch when i dispatch my agent with:
Copy code
lk dispatch create \
  --new-room \
  --agent-name cobranzas_telefonico_outbound
You can see the automatic dispatch in my image. The greatest problem is that it doesnt have metadata so it breaks my pipelines. I've checked and i dont have any dispatch rule nor room configuration and i'm naming my agente in the WorkerOptions. Im out of ideas to debug, can anyone help me? Thanks a lot!
s
Hey fellow Tobias! Every room is created with a default dispatch, so that default agents (without an
agent_name
) will join all rooms by default.
If you create an empty room with
lk room create --name foo
then
lk dispatch list foo
, you'll see it has a default dispatch on it already
c
Hey! exactly, thats what i've seen
s
This is expected behavior, and is how anonymous agents work. Your should filter these out on your end by checking the dispatch's
AgentName