Skip to navigation

Call end reasons

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.

Stageend_reasonWhat it means
connectnever_connectedThe 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.
connectvoicemail_detectedA voicemail answered. The agent’s voicemail detection found a mailbox, or the carrier reported a machine. dial_outcome can still be answered.
connectivr_detectedAn automated phone menu answered, and the agent’s IVR detection (ivr_hangup) ended the call.
connectcarrier_unavailableThe carrier refused to place a campaign call, and its state is aborted.
conversationcaller_hangupThe caller, or the person the agent called, hung up. On an aborted call, they hung up before the call started.
conversationagent_hangupThe agent ended the call: its end_call tool, or its goodbye.
conversationhangup_requestedYou ended the call with endCall, or a member of the workspace ended it in the Rasen app. It can also end an aborted call.
conversationtimeoutA 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.
conversationcompletedThe call ended, and nothing says who ended it.
conversationline_droppedThe line of an answered call failed.
transfertransferredThe transfer destination answered, and the agent left the call. transfer_destination_label names the destination.
transfertransfer_failedA transfer did not complete, and the call ended. transfer_destination_label names the destination.
platformpipeline_errorA platform failure ended the call.
platformworker_crashedA platform failure ended the call. The call can be incomplete.
platformorchestrator_silentThe call host stopped reporting, and Rasen ended the call. The call can be incomplete.
platformshard_unreachableA model server did not answer when the call started, and its state is aborted.
platformserving_unavailableRasen admitted an inbound call but could not connect its audio to the agent, and its state is aborted.
platformrefused_by_fallback_policyA model that an inbound call needs was not available, and Rasen refused the call instead of using another model. Its state is aborted.
platformunknownThe call ended with no recorded reason.
refusalworkspace_concurrency_fullAdmission refused the call, and its state is aborted. The workspace already runs all the concurrent calls of its share.
refusalworkspace_concurrency_unallottedAdmission refused the call, and its state is aborted. The workspace has no share of the account’s concurrent calls.
refusalat_capacityAdmission refused the call, and its state is aborted. No capacity was free to carry it.
refusaladmission_busyAdmission refused the call, and its state is aborted. The admission service was busy.
refusalquota_exceededAdmission refused the call, and its state is aborted. An enforced quota had no allowance left.
refusalorganization_pausedAdmission refused the call, and its state is aborted. Rasen stopped calls for this organization.

Quick diagnosis

What you or the caller sawend_reason valuesWhere to look
The phone did not ring, or nobody answerednever_connecteddial_outcome and dial_sip_code on getCall
No call started, and no carrier dial happenedworkspace_concurrency_full, workspace_concurrency_unallotted, at_capacity, admission_busy, quota_exceeded, organization_pausedErrors, Error codes and Limits and quotas
The carrier did not place a campaign callcarrier_unavailableThe carrier account that holds the campaign’s number
The call ended before it started, for a platform reasonshard_unreachable, serving_unavailable, refused_by_fallback_policyThe call state on getCall
The agent talked to a voicemail or a phone menuvoicemail_detected, ivr_detectedThe agent settings voicemail_detection, voicemail_action and ivr_hangup in Build and publish an agent
The agent hung up too earlyagent_hangupThe transcript, and the end_call outcome in listCallToolOutcomes
The call ended after a silencetimeoutThe agent setting inactivity_timeout_seconds
The call ended at 30 minutestimeoutThe maximum call duration in Limits and quotas
The call stopped in the middle of the conversationline_dropped, pipeline_error, worker_crashed, orchestrator_silent, unknownThe call state, the transcript, and dial_outcome
The transfer did not reach the destinationtransfer_failedtransfer_destination_label on the call, and Configure call transfers
The call ended when you did not expect ithangup_requestedYour 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 for the HTTP status and retry class of each code.