Technical documentation for the voicemail_detectionfeature.
{
"voicemail_detection": true,
"voicemail_message": "Hello, this is a message from Acme Corp. Please call us back at 555-1234. Thank you."
}| Field | Type | Default | Description |
|---|---|---|---|
voicemail_detection | boolean | false | Enable/disable voicemail detection |
voicemail_message | string | null | Message to leave on voicemail. If null/empty, agent hangs up without leaving a message |
[Outbound Call] → [Recipient Answers] → [First Utterance] → [STT Transcription]
↓
[Check for Voicemail Indicators]
↓ ↓
[No Match] [Match Found]
↓ ↓
[Continue Call] [Voicemail Detected]
↓
[Has voicemail_message?]
↓ ↓
[No] [Yes]
↓ ↓
[Hang Up] [Leave Message → Hang Up]voicemail_message is set, agent speaks it{
"message": {
"type": "status-update",
"call": {
"status": "in-progress"
}
}
}{
"message": {
"type": "end-of-call-report",
"call": {
"status": "ended"
},
"summary": "Voicemail detected. Left message: Hello, this is...",
"messages": [
{"role": "user", "content": "You have reached the voicemail of..."},
{"role": "assistant", "content": "Hello, this is a message from..."}
]
}
}{
"voicemail_detection": true,
"voicemail_message": "Hello, this is Sarah from Acme Corp calling about your recent inquiry. Please call us back at 555-1234 at your earliest convenience. Thank you and have a great day."
}{
"voicemail_detection": true,
"voicemail_message": null
}voicemail_message:{
"voicemail_detection": true
}{
"voicemail_detection": false
}autonomous_silence_handlingfirst_messagevoicemail_detection and voicemail_message come from the agent configvoicemail_detection: true is set in agent configurationvoicemail_message is set and not empty in agent configurationmax_duration_seconds separatelyvoicemail_message