Onur
03/02/2025, 1:29 PM61b80194-c949-48fd-966d-a52fec5f37eb
these fields are added to my call:
json
"endCallMessage":
"Danke für dein Interesse! Bis Bald!",
"endCallPhrases":
[
"Danke fürs Gespräch! Ciao"
],
"clientMessages":
[
"transcript",
"hang",
"speech-update",
"metadata",
"conversation-update",
"tool-calls",
"tool-calls-result"
],
"serverMessages":
[
"end-of-call-report",
"status-update",
"hang",
"tool-calls"
],
Vapi Support Bot
03/02/2025, 1:31 PMendCallFunctionEnabled
is set to true in your configuration. This setting allows the call to end correctly after the goodbye message is delivered.
2. **End Call Phrases**: Make sure that the phrases in your endCallPhrases
array are being recognized by the system. If the agent doesn't detect the phrase "Danke fürs Gespräch! Ciao," it won't trigger the end call function.
3. **Check for Repetition**: If the agent is repeating goodbye messages, it might be due to the configuration. You can adjust the logic to prevent redundancy, which can help the call end more smoothly.
4. **Silence Handling**: If the caller doesn't respond, ensure that your system is set to detect silence and trigger a hang-up after a certain duration.
5. **Logs and Errors**: Review your server logs for any errors or messages that might indicate why the call isn't terminating as expected.
If you've checked all these and the issue persists, it might be worth looking into the specific configurations or reaching out for further assistance. Let me know if you need more help! 😊
Sources:
- [Expected Behaviors of Vapi Voice AI Platform](https://discord.com/channels/1211482211119796234/1211483291191083018/1313293840580612166)
- [Handling Call Termination After End Call Message](https://discord.com/channels/1211482211119796234/1211483291191083018/1336004944150401166)
- [Troubleshooting Steps for Unexpected Call Termination](https://discord.com/channels/1211482211119796234/1211483291191083018/1334114042876264518)Kyle Brunker
03/03/2025, 2:00 PM// These variables are automatically available:
{
now: "Apr 30, 2024, 11:30 AM", // Current date and time
date: "Apr 30, 2024", // Current date
time: "11:30 AM", // Current time
year: "2024", // Current year
month: "April", // Current month
day: "30" // Current day
}
In your assistant configuration, use the Liquid template syntax to reference these variables:
//example
Hello! Today is {{date}} and the current time is {{time}}.
For Berlin timezone
Hello! In Berlin, it's now {{'now' | date: '%b %d, %Y, %I:%M %p', 'Europe/Berlin'}}
Note: The syntax you tried had incorrect curly braces. The correct format is {{'now' | date: '%b %d, %Y, %I:%M %p', 'Europe/Berlin'}} (double curly braces with single quotes around 'now').Onur
03/05/2025, 6:23 PMShubham Bajaj
03/05/2025, 6:24 PMOnur
03/05/2025, 6:25 PMShubham Bajaj
03/05/2025, 6:48 PMtranscript
AI: Hi and only, this is Nadja from GO2 KI. Nice to reach you.\nUser: Hi.\nAI: I'm speaking to the person responsible for the at Banana Peak GmbH,\nUser: Yes. Exactly, that's me.\nAI: So. To make cold calls better and more efficient. Is it right now for a short conversation? Or would another time be better?\nUser: Yes, that's fine. We can do that.\nAI: Great, thank you. Many companies have difficulty making cold calls efficiently. Often important follow-ups are forgotten or there is no clear system for turning calls into real deals.\n
"endCallMessage": "Danke für dein Interesse! Bis Bald!",
"endCallPhrases": ["Danke fürs Gespräch! Ciao"],
@Onur can you check the call ID again because I don't see model generating end call phrase. Correct me if I am wrong!!
https://cdn.discordapp.com/attachments/1345749919302156381/1346917215634718740/Screenshot_2025-03-06_at_12.17.27_AM.png?ex=67c9ede8&is=67c89c68&hm=3c5472d79fab2027c480c4bfd2d548dc15c845166b2343d9a20f64d71ce5a85d&Onur
03/07/2025, 10:26 AMbd11e734-5e27-4c04-9de5-ee6ec9ad9190
where I try to say goodbye several times but the agent is not edning the call even after saying goodbye by herselfKyle Brunker
03/11/2025, 2:47 AMOnur
03/18/2025, 10:12 AMOnur
03/18/2025, 10:25 AMKyle Brunker
03/18/2025, 11:52 PM