is there any way to detect voicemail using LiveKit...
# ask-ai
c
is there any way to detect voicemail using LiveKit and Tiwillio?
g
It seems likely that detecting voicemail in LiveKit when using Twilio can be challenging. According to a Slack discussion, voicemail systems often answer calls, which means from the SIP perspective, the call is "answered," and media streams are established. This can cause
ctx.wait_for_participant()
to complete because the voicemail system is treated as a participant. However, if the voicemail system is not bridged into the LiveKit room as a participant,
ctx.wait_for_participant()
may hang indefinitely. Additionally, another Slack message suggests that updating the prompt to specify how to handle voicemail might work well, and LiveKit is working on a model for this, but it will take a few months to be available. Would you like more detailed information on how to handle this situation? Sources: - Slack discussion - Slack message 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.