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.Main agent-voicemail: The call reached voicemail instead of your agent.
Timeouts
Main agent-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.Main agent-invalid-phone-number: Phone number was invalid or unreachable.Testing agent-run-not-ready: Test run was not ready when call was initiated.
Connection Failures
Main agent-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.Main agent-twilio-client-error: Connection error from customer’s phone network.
Agent & Bot Failures
Testing agent-did-not-connect: Testing agent failed to connect within the timeout period.Testing agent-dial-out-bot-crashed: Outbound call bot crashed or became unresponsive.Testing agent-dial-in-bot-crashed: Inbound call bot crashed or became unresponsive.Testing agent-sip-dial-out-bot-crashed: SIP outbound call bot crashed or became unresponsive.
System Errors
Testing agent-pipeline-error: A system or pipeline error occurred during the call.Testing agent-recording-absent: Call recording was not available after the call.Testing agent-recording-failed: Call recording failed to process or save.