Customer Speech Timeout Idle Message Issue

When we use idle messages like the examples in the documentation, we have a final assistant hook that looks like this:
{
"hooks": [
{
"on": "customer.speech.timeout",
"options": {
"timeoutSeconds": 30,
"triggerMaxCount": 3,
"triggerResetMode": "onUserSpeech"
},
"do": [
{ "type": "say", "exact": "I'll be ending the call now, please feel free to call back at any time." },
{ "type": "tool", "tool": { "type": "endCall" } }
]
}
]
}

The issue is that the endedReason on the end of call report says that it was just assistant-ended-call rather than silence-timed-out or something else that indicates why the assistant ended the call. Trying to figure out a way around this.
Was this page helpful?