Leobaldo Alcantara
02/04/2025, 7:52 PMVapi
02/04/2025, 7:55 PMVapi
02/04/2025, 7:55 PMvoicemailDetection
feature. Here's how you can set it up:
1. Enable voicemailDetection
by setting voicemailDetection.enabled
to true
.
2. Configure the machineDetectionTimeout
, machineDetectionSpeechThreshold
, machineDetectionSpeechEndThreshold
, and machineDetectionSilenceTimeout
parameters to fine-tune when the system should consider the call as being answered by a voicemail system.
3. Set the voicemailMessage
to the message you want the assistant to say if the call is forwarded to voicemail.
4. Implement logic in your voice application to return to the assistant when voicemail is detected. This could involve setting up a callback or event listener that triggers when voicemail is detected, and then executing the necessary steps to return control to the assistant.
Would you like to proceed with setting up these configurations, or do you need assistance with a specific part of the process?Vapi
02/04/2025, 7:55 PMLeobaldo Alcantara
02/04/2025, 8:11 PMShubham Bajaj
02/05/2025, 8:55 PMLeobaldo Alcantara
02/05/2025, 9:00 PMmrincognito
02/11/2025, 8:32 PMLeobaldo Alcantara
02/11/2025, 8:41 PMShubham Bajaj
02/11/2025, 10:05 PMLeobaldo Alcantara
02/11/2025, 10:16 PMmrincognito
02/12/2025, 6:58 AMtransferCall
tool alright. VAPI platform does follow configuration of tool destination
and messages
properties. But I also set server.url
property on the tool but VAPI does not call this URL when doing the call transfer... The only notification I can reliably get from VAPI on the server is end-of-call-report
.
How do I make VAPI actually call the server URL for a call transfer?
What server event are you using to block on?
Any ideas?
ThanksLeobaldo Alcantara
02/12/2025, 10:32 AMmrincognito
02/12/2025, 5:43 PMtransfer-destination-request
, correct?
I was eventually able to get VAPI post to my server with transfer-destination-request
but the payload coming with this does not even carry the phone number the call is being transferred to (unless you are willing to look into payload.message.artifact.messages[]
and parse the phone number out of there)
Overall, the whole game plan as it looks to me right now seems to be:
1. get transfer-destination-request
coming to the server and block on it.
2. Parse the phone number the call is forwarded to from the payload and place a second call to that phone number enabling the voice detection on it.
3. Get the voicemail detected or get a live agent to answer the second call.
4. Hangup the second call. If the agent was available then release the first call from the block and let it be blind forwarded. If the second call hit a VM then error out of transfer-destination-request
Did i get this right?
ThanksLeobaldo Alcantara
02/12/2025, 8:06 PM