Skip to main content
The call_ended_reason field indicates why a call or test run terminated.
In testing, “Main agent” refers to your agent being tested, and “Testing agent” refers to Cekura’s testing bot.

Call Completion

  • Main agent-ended-call: Your agent intentionally ended the call.
  • Main agent-ended-call-after-message-spoken: Your agent ended the call after speaking a closing message.
  • Main agent-ended-call-with-hangup-task: Your agent executed a hangup function to end the call.
  • Testing agent-ended-call: Cekura’s testing bot ended the call.

Availability Issues

  • Main agent-did-not-answer: Your agent did not answer within the timeout period.
  • Main agent-busy: Your agent’s line was busy or at capacity.
  • voicemail: The call reached voicemail instead of your agent.

Timeouts

  • silence-timed-out: Call ended due to prolonged silence from both parties.
  • exceeded-max-duration: Call reached the maximum allowed duration.

Testing & User Actions

  • run-cancelled-by-user: User manually cancelled the test run.
  • external-user-ended-call: An external user ended the call.
  • invalid-phone-number: Phone number was invalid or unreachable.

Connection Failures

  • call-not-connected: Call failed to establish a connection.
  • call-canceled: Call was canceled before connecting.
  • call-rejected: Call was explicitly rejected by the destination.
  • call-failed-unknown-error: Call failed due to an unknown error.
  • sip-call-failed: SIP protocol-specific call failure.

Agent & Bot Failures

  • pipecat-agent-did-not-connected: Agent failed to connect within the timeout period.
  • dial-out-bot-crashed: Outbound call bot crashed or became unresponsive.
  • dial-in-bot-crashed: Inbound call bot crashed or became unresponsive.
  • sip-dial-out-bot-crashed: SIP outbound call bot crashed or became unresponsive.

System Errors

  • pipeline-error: A system or pipeline error occurred during the call.