@Mehul Rox
It sounds like the configuration of your webhook might need to be adjusted to ensure it's triggered at the correct time. Typically, webhooks can be set up to respond to various events, and in your case, you want it to trigger when a call ends, not when it starts.
To resolve this, you'll need to check the settings of the service that is sending the webhook to your server URL. Look for an option that allows you to specify the event that triggers the webhook. You should select an event that corresponds to the end of a call, such as "call completed" or "call ended."
If you're using a specific Voice API platform, they usually have documentation on how to set up webhooks for different events. Make sure to consult the platform's documentation or support to find the exact steps for configuring the webhook to trigger on call completion.
If you need further assistance with the configuration or if you're unsure how to proceed, please provide more details about the Voice API platform you're using, and I'll do my best to assist you. If the issue persists, you may need to reach out to the platform's support team for more detailed help.