Schema
Call Definition
The reason the call ended.
unjoined- Client never joinedhangup- Client hung upagent_hangup- Agent hung uptimeout- Call timed outconnection_error- Connection errorsystem_error- System error
Available options:
unjoined, hangup, agent_hangup, timeout, connection_error, system_error - BILLING_STATUS_PENDING* - The call hasn't been billed yet, but will be in the future. This is the case for ongoing calls for example. (Note: Calls created before May 28, 2025 may have this status even if they were billed.)
- BILLING_STATUS_FREE_CONSOLE* - The call was free because it was initiated on https://app.ultravox.ai.
- BILLING_STATUS_FREE_ZERO_EFFECTIVE_DURATION* - The call was free because its effective duration was zero. (Note: There may still be a non-zero sip bill in this case.)
- BILLING_STATUS_FREE_MINUTES* - The call was unbilled but counted against the account's free minutes. (Note: There may still be a non-zero sip bill in this case.)
- BILLING_STATUS_FREE_SYSTEM_ERROR* - The call was free because it ended due to a system error.
- BILLING_STATUS_FREE_OTHER* - The call is in an undocumented free billing state.
- BILLING_STATUS_BILLED* - The call was billed. See billedDuration for the billed duration.
- BILLING_STATUS_REFUNDED* - The call was billed but was later refunded.
- BILLING_STATUS_UNSPECIFIED* - The call is in an unexpected billing state. Please contact support.
Available options:
BILLING_STATUS_PENDING, BILLING_STATUS_FREE_CONSOLE, BILLING_STATUS_FREE_ZERO_EFFECTIVE_DURATION, BILLING_STATUS_FREE_MINUTES, BILLING_STATUS_FREE_SYSTEM_ERROR, BILLING_STATUS_FREE_OTHER, BILLING_STATUS_BILLED, BILLING_STATUS_REFUNDED, BILLING_STATUS_UNSPECIFIED