Hi. Why this doesn't work? assistant: Thanks again...
# ask-ai
a
Hi. Why this doesn't work? assistant: Thanks again for calling Picture Perfect Cleaning. Have a great day! user: you too assistant: end_call tool is used
t
Thanks for reaching out, serhii. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please share a bit more about the issue you're having with the end_call tool? For instance, are you encountering any error messages, or is the tool not working quite as you expected? Also, I’d love to know if you’re using the Room Service API to delete the room and whether your permissions are all set up correctly. I'm here to help you through this! Sources: Docs::Agents | Docs::Agents | telephony/sip_lifecycle.py
a
agent just not use this tool
t
Thank you for bringing this up! There are a few reasons why the agent might not be using the
*end_call*
tool: • Sometimes, the agent's logic might not pick up on the user's intention to end the call, since the tool only activates when that intent is clearly recognized. • There might be other ways in place, like manual controls or custom logic, that end the call instead of relying on the
*end_call*
tool. • Also, certain event handling or custom settings could be affecting how the tool runs, possibly suppressing or changing its behavior. If you'd like, I’m here to help you make sure the tool works just right. Feel free to reach out, and we can troubleshoot together or I can guide you through the configurations. Sources: Docs::Agents | livekit-agents/livekit/agents/voice/agent_session.py | Docs::Agents | complex-agents/note-taking-assistant/note-taker-frontend/components/livekit...
a
give me a working variant pls
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!