> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.rasen.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rasen.ai/_mcp/server.

# Call end reasons

> Every end_reason value that a call can report, grouped by the stage where the call ended, and where to look for each one.

## Summary

This page lists the `end_reason` values of a call by the stage where the call ended. It also maps
what you saw to the values and the fields to read. It does not cover call states; see
[Call lifecycle](/concepts/call-lifecycle).

| Stage        | `end_reason`                       | What it means                                                                                                                                                                                                                                                                      |
| ------------ | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| connect      | `never_connected`                  | The call never connected, and its state is `aborted`. A dialled call was not answered or failed, an agent session socket sent no audio within 120 seconds, or a browser call connected no audio. For a dialled call, `dial_outcome` and `dial_sip_code` give the carrier's reason. |
| connect      | `voicemail_detected`               | A voicemail answered. The agent's voicemail detection found a mailbox, or the carrier reported a machine. `dial_outcome` can still be `answered`.                                                                                                                                  |
| connect      | `ivr_detected`                     | An automated phone menu answered, and the agent's IVR detection (`ivr_hangup`) ended the call.                                                                                                                                                                                     |
| connect      | `carrier_unavailable`              | The carrier refused to place a campaign call, and its state is `aborted`.                                                                                                                                                                                                          |
| conversation | `caller_hangup`                    | The caller, or the person the agent called, hung up. On an `aborted` call, they hung up before the call started.                                                                                                                                                                   |
| conversation | `agent_hangup`                     | The agent ended the call: its `end_call` tool, or its goodbye.                                                                                                                                                                                                                     |
| conversation | `hangup_requested`                 | You ended the call with `endCall`, or a member of the workspace ended it in the Rasen app. It can also end an `aborted` call.                                                                                                                                                      |
| conversation | `timeout`                          | A time limit ended the call: the inactivity timeout (`inactivity_timeout_seconds`), or the maximum call duration. A call ends after 30 minutes at most, whatever the setting.                                                                                                      |
| conversation | `completed`                        | The call ended, and nothing says who ended it.                                                                                                                                                                                                                                     |
| conversation | `line_dropped`                     | The line of an answered call failed.                                                                                                                                                                                                                                               |
| transfer     | `transferred`                      | The transfer destination answered, and the agent left the call. `transfer_destination_label` names the destination.                                                                                                                                                                |
| transfer     | `transfer_failed`                  | A transfer did not complete, and the call ended. `transfer_destination_label` names the destination.                                                                                                                                                                               |
| platform     | `pipeline_error`                   | A platform failure ended the call.                                                                                                                                                                                                                                                 |
| platform     | `worker_crashed`                   | A platform failure ended the call. The call can be `incomplete`.                                                                                                                                                                                                                   |
| platform     | `orchestrator_silent`              | The call host stopped reporting, and Rasen ended the call. The call can be `incomplete`.                                                                                                                                                                                           |
| platform     | `shard_unreachable`                | A model server did not answer when the call started, and its state is `aborted`.                                                                                                                                                                                                   |
| platform     | `serving_unavailable`              | Rasen admitted an inbound call but could not connect its audio to the agent, and its state is `aborted`.                                                                                                                                                                           |
| platform     | `refused_by_fallback_policy`       | A model that an inbound call needs was not available, and Rasen refused the call instead of using another model. Its state is `aborted`.                                                                                                                                           |
| platform     | `unknown`                          | The call ended with no recorded reason.                                                                                                                                                                                                                                            |
| refusal      | `workspace_concurrency_full`       | Admission refused the call, and its state is `aborted`. The workspace already runs all the concurrent calls of its share.                                                                                                                                                          |
| refusal      | `workspace_concurrency_unallotted` | Admission refused the call, and its state is `aborted`. The workspace has no share of the account's concurrent calls.                                                                                                                                                              |
| refusal      | `at_capacity`                      | Admission refused the call, and its state is `aborted`. No capacity was free to carry it.                                                                                                                                                                                          |
| refusal      | `admission_busy`                   | Admission refused the call, and its state is `aborted`. The admission service was busy.                                                                                                                                                                                            |
| refusal      | `quota_exceeded`                   | Admission refused the call, and its state is `aborted`. An enforced quota had no allowance left.                                                                                                                                                                                   |
| refusal      | `organization_paused`              | Admission refused the call, and its state is `aborted`. Rasen stopped calls for this organization.                                                                                                                                                                                 |

## Quick diagnosis

| What you or the caller saw                              | `end_reason` values                                                                                                                        | Where to look                                                                                                                 |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- |
| The phone did not ring, or nobody answered              | `never_connected`                                                                                                                          | `dial_outcome` and `dial_sip_code` on `getCall`                                                                               |
| No call started, and no carrier dial happened           | `workspace_concurrency_full`, `workspace_concurrency_unallotted`, `at_capacity`, `admission_busy`, `quota_exceeded`, `organization_paused` | [Errors](/concepts/errors), [Error codes](/reference/error-codes) and [Limits and quotas](/concepts/limits)                   |
| The carrier did not place a campaign call               | `carrier_unavailable`                                                                                                                      | The carrier account that holds the campaign's number                                                                          |
| The call ended before it started, for a platform reason | `shard_unreachable`, `serving_unavailable`, `refused_by_fallback_policy`                                                                   | The call `state` on `getCall`                                                                                                 |
| The agent talked to a voicemail or a phone menu         | `voicemail_detected`, `ivr_detected`                                                                                                       | The agent settings `voicemail_detection`, `voicemail_action` and `ivr_hangup` in [Build and publish an agent](/guides/agents) |
| The agent hung up too early                             | `agent_hangup`                                                                                                                             | The transcript, and the `end_call` outcome in `listCallToolOutcomes`                                                          |
| The call ended after a silence                          | `timeout`                                                                                                                                  | The agent setting `inactivity_timeout_seconds`                                                                                |
| The call ended at 30 minutes                            | `timeout`                                                                                                                                  | The maximum call duration in [Limits and quotas](/concepts/limits)                                                            |
| The call stopped in the middle of the conversation      | `line_dropped`, `pipeline_error`, `worker_crashed`, `orchestrator_silent`, `unknown`                                                       | The call `state`, the transcript, and `dial_outcome`                                                                          |
| The transfer did not reach the destination              | `transfer_failed`                                                                                                                          | `transfer_destination_label` on the call, and [Configure call transfers](/guides/call-transfers)                              |
| The call ended when you did not expect it               | `hangup_requested`                                                                                                                         | Your own `endCall` requests, and the members who can end calls in the Rasen app                                               |

## Unknown values and refusals

`end_reason` is an open vocabulary, and it is `null` while the call runs. The API can return a
value that is not on this page. Keep a value you do not know, and never read it as success.

A refusal code is also an error code. `createCall` and `createAgentSession` return a refusal as an
error answer, and they create no call. An inbound call or a campaign attempt that admission refuses
is a call in state `aborted`, with the refusal code in `end_reason`. See
[Error codes](/reference/error-codes) for the HTTP status and retry class of each code.

## Related

* [Call lifecycle](/concepts/call-lifecycle)
* [Troubleshoot a call](/guides/troubleshoot-calls)
* [Place calls and read results](/guides/calls)
* [Webhook events](/reference/webhook-events)
* [Error codes](/reference/error-codes)