https://retellai.com/?utm_source=discord&utm_medium=seo logo
can we customize attributes for end reason
# 💬・general
j
@AI Evy can we customize attributes for end reason
a
Thanks for tagging me @jakeconcha_74874. I'll look through relevant sources and get back to you shortly.
### Answer No, the
disconnection_reason
field is not customizable. It is a system-defined enum that indicates why a call ended, with predefined values such as: [(1) ]() -
agent_hangup
-
user_hangup
-
call_transfer
-
voicemail_reached
-
dial_busy
-
dial_failed
-
dial_no_answer
-
error_llm_websocket_open
-
error_no_audio_received
-
registered_call_timeout
- And several other system-defined reasons These values are automatically populated by Retell based on how the call actually ended. If you need to track custom call outcomes or reasons, you can use the post call analysis feature with
post_call_analysis_data
to extract custom data from the conversation, or use the
metadata
field to store your own custom attributes associated with the call. [(2) ]() [(3) ]()
​ To learn more, see the sources I considered: [[1] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[2] List Voice Agents](https://docs.retellai.com/api-references/list-agents) [[3] Get Voice Agent](https://docs.retellai.com/api-references/get-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.