Shahzad
09/17/2024, 9:00 AMVapi
09/17/2024, 9:02 AMVapi
09/17/2024, 9:02 AMendCall function? Additionally, if there's a specific message you'd like the assistant to say before ending the call, please let me know.Shahzad
09/17/2024, 9:02 AMShahzad
09/17/2024, 9:04 AMVapi
09/17/2024, 9:04 AMendCall function. Could you please provide me with the name of the function or any additional details required to implement this?Shahzad
09/17/2024, 9:05 AMVapi
09/17/2024, 9:05 AMplaintext
We are not available for now. Ending the call now.
You can integrate this statement into your system where the endCall function is triggered when the endCallFunctionEnabled is set to true. If you need further assistance with the integration or have any more questions, feel free to ask!Shahzad
09/17/2024, 9:06 AMVapi
09/17/2024, 9:06 AMendCall is an in-built function in your system and it is enabled, you should indeed be able to execute it by mentioning it in the prompt. Here's the statement that should trigger the endCall function:
"We are not available for now."
Please ensure that this phrase is included in the endCallPhrases array in your system to trigger the call to end. If you have any further questions or need additional assistance, feel free to reach out.Shahzad
09/17/2024, 9:23 AMVapi
09/17/2024, 9:23 AMendCall function is executed properly, the phrase spoken by the bot must exactly match one of the phrases listed in the endCallPhrases array. Since you've set the phrase to:
"HI, We are not available at the moment, you can contact us during the office timing. Good bye."
The bot must say this exact phrase to trigger the end of the call. If it's still not disconnecting, please double-check that the endCallFunctionEnabled is indeed set to true and that there are no other conditions or configurations that might be preventing the function from executing.
If everything seems to be configured correctly and it's still not working, it might be a good idea to ask support for more info on this, as there could be an issue with the system that needs to be addressed.Shahzad
09/17/2024, 9:24 AMShahzad
09/17/2024, 9:24 AMVapi
09/17/2024, 9:24 AMendCall function to be triggered after the first message is spoken by the bot.
However, if the call is still not ending as expected, there might be an issue outside of the configuration that's preventing the endCall function from executing. This could be due to a variety of reasons such as a bug in the system, an issue with the voice API provider, or a misconfiguration elsewhere in the system.
Since I am unable to directly troubleshoot or fix potential bugs in the system, I would recommend reaching out to the support team for your voice API provider or checking the system logs for any errors that might indicate what's going wrong.
If there's anything else I can assist you with, please let me know!Shahzad
09/17/2024, 9:25 AMSahil
09/17/2024, 7:07 PMShubham Bajaj
09/18/2024, 2:32 AMShahzad
09/18/2024, 9:38 AMShubham Bajaj
09/18/2024, 1:50 PMAfter first message Sofia will use the endCall function to end the call.
set first message to empty and then first message mode to model generated message and add the following:
trigger the endCall functionShubham Bajaj
09/18/2024, 1:50 PMShahzad
09/18/2024, 3:24 PMShahzad
09/19/2024, 8:56 AMShahzad
09/19/2024, 10:51 AMShubham Bajaj
09/19/2024, 8:26 PM