silenceTimeoutSeconds not working
# support
o
Hi ! When voicemail detection fails, our agent doesn't hangup even if we've set silenceTimeoutSeconds to 10s. Are there other settings in our assistant config that block the functionality of this parameter (e.g. background sound / idle messages) Example call : b4d2b43e-de29-4d02-ad07-1c0caeb2080d Thanks !
v
Hey there! 😊 When voicemail detection fails and your agent doesn't hang up despite setting
silenceTimeoutSeconds
to 10 seconds, there are indeed other settings in your assistant configuration that could be affecting this behavior. Here are a few key points to consider: 1. **Integration with Other Timeout Settings**: The
silenceTimeoutSeconds
parameter works in conjunction with other timeout settings, such as
machineDetectionSilenceTimeout
. If this setting is longer than your
silenceTimeoutSeconds
, it could prevent the agent from hanging up. 2. **Endpointing Behavior**: The endpointing feature in Vapi uses audio-text models to determine when a user has finished speaking. If the endpointing settings are not configured optimally, it might lead to delays in recognizing silence, thus affecting the hang-up behavior. 3. **Voicemail Detection Configuration**: Ensure that your voicemail detection settings are correctly configured. If the detection types or timeouts are set in a way that conflicts with the
silenceTimeoutSeconds
, it could lead to unexpected behavior. 4. **Custom Silence Timeout Message**: If you have a custom message set for when a call ends due to silence, it might also influence how the system handles the timeout. To troubleshoot further, you might want to review the specific configurations related to voicemail detection and endpointing in your assistant setup. If you need more detailed guidance or examples, feel free to ask! 📞 Sources: - [Voicemail Detection in Vapi](https://docs.vapi.ai/phone-calling/voice-mail-detection) - [How Vapi Works](https://docs.vapi.ai/how-vapi-works) - [API Reference](https://docs.vapi.ai/api-reference/assistants/create)
o
While checking the logs I see there are > 60s without any user speech detection + Twilio detected machine end other - Should the call stop after machine detection from twilio ? - Should the call stop if the users says nothing during 10 seconds ? Does it fail because of Idle message ? See below class MessagePlan(BaseModel): idleMessages: List[str] = FRENCH_IDLE_MESSAGES idleMessageMaxSpokenCount: float = 3 idleTimeoutSeconds: float = 5 https://cdn.discordapp.com/attachments/1344633027925377064/1344680738754396220/Screenshot_2025-02-27_at_15.39.12.png?ex=67c1cb07&is=67c07987&hm=8f42aa105cbc64eb2ca1b97e907d85a3074ff72f79e33cfa32f2773e8317a481&
s
@Omogen Looking into this, it might be because of voice pipeline the call didn’t hang up even after 10 seconds of continuous silence. I’ll investigate and get back to you..
o
Hi Shubham, thanks !
3 Views