endCall triggering a canned message
# support
k
Hi, It feels like all my assistants are ending the call exactly the same. It seems to be related to the endCall function. When that function is called, the assistant every time exactly says: "Thank you for providing all this valuable information. We'll make sure to use it to serve you better. Have a great day!" Even when my assistant is only allowed to speak a specific language, it still says that English message when ending the call. Is this a hard-coded message in the endCall function? Is there a way to override it? My prompt tells the assistant the end the call in a different way. call id: 019b037f-545f-7225-bb0f-d3e347ecfeb0 Time: 12/09/2025 15:23 attributes.callId: 019b037f-545f-7225-bb0f-d3e347ecfeb0 (this is where I see the message in the log) Thanks!
c
Hi Koen, thanks for sharing your details. Our team will look into it and get back to you soon with an update.
k
Thx
c
clues: end call message where to find: endCall tool messages (ex.
request-start
) what i found:
Copy code
{
  "type": "endCall",
  "function": {
    "name": "endCall",
    "description": "Use this function to end the call. Only use it when following instructions that explicitly ask you to use the endCall function. DO NOT call this function unless you are instructed to do so.",
    "parameters": {
      "type": "object",
      "properties": {},
      "required": []
    }
  },
  "messages": [
    {
      "type": "request-start",
      "blocking": false,
      "content": "Thank you for providing all this valuable information. We'll make sure to use it to serve you better. Have a great day!",
      "contents": [],
      "conditions": []
    }
  ]
}
k
Thx for your reply Praveen. I was using the predefined function to end the call. I now see I can also create my own endCall tool. I will try that!