Akshat Jain
01/16/2025, 6:00 AMVapi
01/16/2025, 6:02 AMevaluate_response
is being handled in your webhook. The response you're expecting to send back is not being reflected in the actual result, which is coming back as "Success." instead of the intended message.
To troubleshoot this, please ensure that the evaluate_response
function is correctly implemented and that it's designed to return the specific message "End the call by saying I am busy right now" under the appropriate conditions.
If the function is implemented correctly and you're still facing issues, it could be a problem with how the response is being mapped or returned in your webhook handler. Double-check the logic in your handleVapiWebhook
function to ensure that it's correctly processing the tool calls and mapping the expected results.
If you're unable to resolve the issue, please provide more details or ask support for more info on this.Vapi
01/16/2025, 6:02 AMVapi
01/16/2025, 6:02 AMAkshat Jain
01/16/2025, 6:36 AMAkshat Jain
01/16/2025, 7:50 AMVapi
01/16/2025, 7:51 AMevaluate_response
function appears to be working as it's returning "Success," but the actual response you want to send back is not being set correctly.
Please ensure that your webhook handler is correctly interpreting the results from the evaluate_response
function and mapping them to the desired output message. If the function is supposed to return "End the call by saying I am busy right now" under certain conditions, you'll need to check the logic within that function to make sure it's doing so.
If you're still having trouble, you may need to consult the documentation for the evaluate_response
function or reach out to the support team for the Voice API you're using to get more detailed assistance on how to configure your webhook handler to return the expected message.
If there's anything else I can assist you with, please let me know!Akshat Jain
01/16/2025, 7:52 AMVapi
01/16/2025, 7:52 AMAkshat Jain
01/16/2025, 7:58 AMAkshat Jain
01/16/2025, 2:18 PMAkshat Jain
01/17/2025, 5:03 AMAkshat Jain
01/17/2025, 5:04 AMVapi
01/17/2025, 5:04 AM