Outbound call being put on hold for 30 seconds => ...
# support
c
I have an outbound call agent that needs to be more patient. It is quite common to be put on hold for a few minutes, and we need to be able to handle that gracefully. It is quite clear that the LLM understands that it is being put on hold, and says (ironically) 'sure, take your time' but then the (Vapi?) system times out after 30 seconds. abfadb45-618c-41db-acbb-2fb7b095044b for example How can this 30 second value be increased? I've searched high and low and cannot find any docs on this.
v
Hi there! I found information about how to increase that 30-second silence timeout for your outbound calls 👍 Based on the documentation, you can adjust the
silenceTimeoutSeconds
parameter which controls how long a session waits during silence before timing out. The default is set to 30 seconds (which matches exactly what you're experiencing), but you can customize it up to 3600 seconds (1 hour) [source](https://docs.vapi.ai/phone-calling/on-hold-specialist-transfer). Here's an example configuration:
Copy code
json
{
  "firstMessageMode": "assistant-waits-for-user",
  "silenceTimeoutSeconds": 300, // Increased to 5 minutes
  "messagePlan": {
    "silenceTimeoutMessage": "Hello! I noticed you haven't said anything. How can I help you today?"
  }
}
Alternatively, if you're using voicemail detection features, you might also need to adjust the
machineDetectionSilenceTimeout
parameter (measured in milliseconds):
Copy code
json
{
  "voicemailDetection": {
    "provider": "twilio",
    "enabled": true,
    "machineDetectionSilenceTimeout": 300000, // 5 minutes in milliseconds
    // other parameters...
  }
}
I couldn't find specific information about the call ID you mentioned (abfadb45-618c-41db-acbb-2fb7b095044b), but adjusting these timeout parameters should help your agent remain patient during those hold periods. Sources: - [Phone Calling On-Hold Specialist Transfer](https://docs.vapi.ai/phone-calling/on-hold-specialist-transfer) - [Discord Message Voicemail Detection Configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1341760956732276736) - [Discord Message Silence Timeout Configuration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343915991670853654)
Message marked as helpful by @cw! 🎉
s
@cw putting your call under investigation as I need some more time to find out what best will work for you.
g
anything here, im on the same boat
c
The solution above worked: silenceTimeoutSeconds: 300, // wait for 5 minutes when put on hold
Note that I spent a lot of time looking throught the docs and asking the in-document Vapi Agent for help, and got nowhere. When I posted here, the agent gave me the correct answer. I take that to mean that the in-doc agent and the discord help agent are trained differently, which is frustrating - in-doc agent should know this.
@gzqq 🖕
g
silenceTimeoutSeconds: 300, // wait for 5 minutes when put on hold A/ yes i had to increase this a lot, but anyways, i still believe something "smarter" can be done on VAPI side, there is ways to pause the webrtc room on daily maybe thru the second control messages, i understand may add failure points and complexity,
thank you @cw