I'm trying to make the voicemail work but I only h...
# ask-ai
w
I'm trying to make the voicemail work but I only here it say "hangs up immediately" @function_tool async def detected_answering_machine(self): """Call this tool if you have detected a voicemail system, AFTER hearing the voicemail greeting""" await self.session.generate_reply( instructions="Yo - leave a voicemail as a pirate" _#f"{self.voicemail_message}"_ ) await asyncio.sleep(0.5) # Add a natural gap to the end of the voicemail message await hangup_call()
t
Thanks for reaching out, Jared. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you provide more details about the issue? For example: • Are you using a specific LiveKit feature or integration for voicemail? • What steps have you already taken to set up or troubleshoot the voicemail? • Are there any error messages or logs that you can share? This information will help us better understand and address the problem.
w
No errors - it seems to work except it doesn't generate the reply
t
Hey there! Thanks for keeping me in the loop. I'd love to get a bit more clarity so we can solve this together. Could you help me understand: • What specific steps are you taking to trigger the voicemail reply? • Are you using any custom scripts or configurations that might be playing a role? • Is this happening every single time, or just in certain situations? The more details you can share, the better we can track down what's going on. I'm here to help you get this sorted out!
w
the function tool 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!