You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to Detect If an Outbound Call Went to Voicemail #117
Description:
I am currently using LiveKit for handling SIP calls and have integrated Twilio SIP for outbound call functionalities. I would like to know if there is a way to detect if an outbound call went to voicemail.
Here are the details of the packages we are using:
livekit==0.9.2
livekit-agents==0.4.0
livekit-api==0.4.3
livekit-protocol==0.3.2
Problem Statement:
When making outbound calls using Twilio SIP through LiveKit, we need to programmatically determine if the call was answered by a human or if it went to voicemail. This is crucial for our use case where calls need to be handled differently based on whether they reach a person or a voicemail.
Questions:
Does LiveKit provide any built-in support or mechanisms to detect if an outbound call went to voicemail?
If not, are there any recommended approaches or best practices using Twilio SIP in conjunction with LiveKit to achieve this?
Additional Context:
Any insights or examples on how to implement this feature would be highly appreciated. We are open to exploring potential workarounds or integrations if direct support is not available.
I did a brief research, and it looks like there's no explicit SIP signal that we can use to detect voicemail (or any other automated response). I think you'll have to use Twilio's Answering Machine Detection. From the LiveKit side, we will soon release SIP attributes on Participant, which will include Twilio Call SID. You could then lookup this call on Twilio platform and check the machine detection result.
Activity
dennwc commentedon Jul 5, 2024
I did a brief research, and it looks like there's no explicit SIP signal that we can use to detect voicemail (or any other automated response). I think you'll have to use Twilio's Answering Machine Detection. From the LiveKit side, we will soon release SIP attributes on Participant, which will include Twilio Call SID. You could then lookup this call on Twilio platform and check the machine detection result.
aniket-esmagico commentedon Mar 11, 2026
Any update on this issue, have we added this functionality yet?
Add French voicemail (répondeur) trigger phrases to prompt and tool