End Call Tool Message Not Playing

Hi all, I have been having trouble getting my VAPI assistants to consistently say the end call message.

I've tried adding the end call as the follwing, and it seems its always very inconsistent in actually saying the message.
  • within my prompt, Ive included an end call message in the #call closing section
  • to the "endCallMessage" field on the assistant
  • as a message on the end_call_tool, ive tried with request complete with 'End the call after message is spoken'
In the call Id below, i DO see a voice log with my end call message near the very end of the call, but it seems the 'Vapi voice WebSocket disconnected'. it looks like the voice socket gets disconnect before it can actually say the message?

Call Id: 019b390b-3420-7776-bc9d-6a25af194eef
Org Id: 211c53bc-1b1f-4efb-97f2-4f2cbde0da50
Was this page helpful?