Logs showing ended reason "Assistant Ended Call" when call ended reason is "customer-ended-call"

We have lots of calls in our logs that are only lasting 6-7 seconds before they randomly end with reason "Assistant Ended Call". Further inspection into the logs reveals the tool call like this:
{
    "role": "tool_calls",
    "time": 1758636590435,
    "message": "",
    "toolCalls": [
        "0": {
            "id": "hook-function-call-c6dee378",
            "type": "function",
            "function": {
            "name": "endCall",
            "arguments": "{\"callEndedReason\": \"customer-ended-call\"}"
            }
        }
    ],
    "secondsFromStart": 11.016
}


The callEndedReason here is always: "customer-ended-call". Does this mean the customer hung up, and if so, why is the Ended Reason showing up as "Assistant Ended Call"?

A few example Call SIDs:
  • fdd448fd-1776-4686-8b9c-df964c904690
  • 136eba39-8c68-4cdd-90b4-ed323943e406
  • 789b5c7a-0b16-44db-b036-d8bf0b542df6
Was this page helpful?