https://retellai.com/?utm_source=discord&utm_medium=seo logo
g
Hi. I’m using ghl. After my webhook sends me thecall analysis. How do I know if a call wasn’t answered or went to voicemail so I can keep following up ? @AI Evy
a
Thanks for tagging me @Giani Barraza. I'll look through relevant sources and get back to you shortly.
### Answer When you receive the
call_analyzed
webhook (or
call_ended
webhook) , you can check the
disconnection_reason
field to determine if a call wasn't answered or went to voicemail [(1) ]() . The
disconnection_reason
field will show specific values like
dial_no_answer
,
dial_busy
, or
dial_failed
when calls don't connect [(2) ]() . Additionally, the
call_analysis
object includes an
in_voicemail
boolean field that indicates whether the call went to voicemail [(1) ]() . Here's what to look for in your webhook payload: - **`disconnection_reason`**: Check for values like
dial_no_answer
,
dial_busy
, or
dial_failed
[(2) ]() [(1) ]() - **`call_analysis.in_voicemail`**: A boolean that's
true
if voicemail was detected [(1) ]() Note that when calls don't connect (with disconnection reasons like
dial_failed
,
dial_no_answer
,
dial_busy
) , the
call_started
webhook won't be triggered, but you'll still receive
call_ended
and
call_analyzed
webhooks [(2) ]() .
​ To learn more, see the sources I considered: [[1] Get Call](https://docs.retellai.com/api-references/get-call) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.