@versin
It seems like there might be an issue with how the webhook is handling the different statuses. Since the (voicemail) status correctly routes the call to an agent, but the (confirmed) and (not confirmed) statuses do not, the problem likely lies within the logic that handles these statuses after the webhook receives the request.
Here's what you can do to troubleshoot and resolve the issue:
1. **Review Webhook Logic**: Examine the code or configuration of your webhook to ensure that it's correctly distinguishing between the different statuses and routing the calls appropriately.
2. **Check for Consistency**: Make sure that the logic for handling the (voicemail) status is consistent with the logic for handling the (confirmed) and (not confirmed) statuses.
3. **Examine the Prompts**: Since you mentioned there is a difference in the prompts, ensure that the prompts for (confirmed) and (not confirmed) statuses are not inadvertently directing the calls to voicemail.
4. **Test with Detailed Logging**: Implement detailed logging for the webhook to capture the entire process of how each status is handled. This will help you identify where the calls are being misrouted.
5. **Simulate Scenarios**: Use a tool or write a script to simulate the different call statuses and observe how the webhook responds to each.
6. **Consult with Your Team**: If you're working with a team, discuss the issue with them to see if they have any insights or if they've made any recent changes that could have affected the call routing.
If you have specific prompts or error messages that you're seeing, please share them so I can provide more targeted advice. If the issue persists, you may need to reach out to the support team for the software you're using for further assistance.