JRDabrio
09/26/2024, 5:50 PMInform the Caller that the requested service is not offered in that location. Ensure the Caller is notified that their information will be passed to the appropriate team before invoking the `endCall` function to complete the call.
call id: 70678c2b-514f-4b6b-9bef-36a715ec64dfVapi
09/26/2024, 5:51 PMVapi
09/26/2024, 5:51 PMendCall function. This is something that will be covered in future guides.
However, to ensure that VAPI provides the correct information before the call ends, you should structure your prompts to include all necessary information before the call termination process begins. Since VAPI can't hang up the call yet, you would need to handle the call termination through your own system after VAPI has delivered the message.
For the scenario you described, make sure that your prompt includes the full message that needs to be relayed to the caller. For example:
Inform the Caller that the requested service is not offered in their location and that their information will be passed to the appropriate team. Thank you for calling.
After VAPI has delivered this message, your system should then take over to end the call. If you're still having trouble with VAPI not uttering the voice before the call ends, please ask support for more info on this, as it may require a deeper look into the specific call logs and configurations.Vapi
09/26/2024, 5:51 PMSahil
09/26/2024, 6:05 PMSahil
09/26/2024, 6:05 PMJRDabrio
09/27/2024, 7:19 AMSahil
09/27/2024, 5:49 PMShubham Bajaj
09/30/2024, 1:25 PM"endCallMessage": "Thank you for contacting us. Have a great day!",Shubham Bajaj
09/30/2024, 1:25 PMJRDabrio
09/30/2024, 1:26 PMJRDabrio
10/01/2024, 3:47 PMShubham Bajaj
10/02/2024, 4:35 PM