Damian
03/12/2025, 7:28 AMVapi Support Bot
03/12/2025, 7:29 AMendCall
function compared to other function types. According to the documentation, there are some specific considerations when handling "system" role messages for endCall functions:
1. **Check your configuration**: Ensure endCallFunctionEnabled
is set to true in your setup [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1336432457943351358).
2. **Try using the say
method**: Instead of relying on the system message content, you can use the say
method with the endCallAfterSpoken
parameter to ensure a graceful termination:
javascript
vapi.say("Your personalized goodbye message", true);
This approach ensures your message is delivered before ending the call [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1336004944150401166).
3. **Review message configuration**: The system messages can sometimes trigger unintended responses from the assistant despite being intended to be non-intrusive [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1338730919904673853).
4. **Consider conditional logic**: You might need to implement conditional logic to trigger the endCall function based on specific user inputs or conditions [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1313293840580612166).
If these steps don't resolve the issue, you might need to review recent changes to your configuration or examine the function call implementation at the code level [source](https://discord.com/channels/1211482211119796234/1211483291191083018/1305929557144240159).
Hope this helps! Let me know if you need further assistance. 🙂
Sources:Vapi Support Bot
03/12/2025, 7:29 AMDamian
03/12/2025, 7:36 AMPraveen Nair
03/15/2025, 6:48 AMDamian
03/18/2025, 9:40 AMPraveen Nair
03/20/2025, 2:24 AMShubham Bajaj
03/20/2025, 2:25 AMDamian
03/20/2025, 5:58 PMDamian
03/22/2025, 1:17 PMShubham Bajaj
03/22/2025, 3:54 PMDamian
03/22/2025, 4:41 PMShubham Bajaj
03/23/2025, 11:06 AMcartesia:575a5d29-1fdc-4d4e-9afa-5a9a71759864:44100:40b1a60b9a98cfbc6c145b78e680806af51abf00cb9a01c832e6ec795cd98594
, "80" Text: "Pożegnaj się z użytkownikiem używając zwrotu "Do widzenia" z uprzejmym dodatkiem"
🔵 17:54:49:772 Voice Input Formatted: "Pożegnaj się z użytkownikiem używając zwrotu "Do widzenia" z uprzejmym dodatkiem", Original: "Pożegnaj się z użytkownikiem używając zwrotu "Do widzenia" z uprzejmym dodatkiem"
🔵 17:54:50:041 Say Request Saying 80... (say: Pożegnaj się z użytkownikiem używając zwrotu "Do widzenia" z uprzejmym dodatkiem)
🔵 17:54:54:272 Conversation Buffer Appending Bot Message. Emitting "conversation-update"...
{
"role": "bot",
"message": "Albo żegnaj się z użytkownikiem używając zwrotu do widzenia",
"time": 1742493287884,
"endTime": 1742493291274,
"secondsFromStart": 21.8,
"duration": 3390,
"source": ""
}
🔵 17:54:49:771 No suitable source content found to translate to language "pl".
@damian as you can see Your last rebirth complete message or was being voiced out. It's just that the transcriber has transcribed it differently, and you get to hear it like, "My message not being voiced out," but that's not true. Your message is actually being voiced out; the transcriber is converting it into some different words.Shubham Bajaj
03/23/2025, 11:07 AM