I see the issue - your events are being sent to an ngrok URL instead of your configured Azure URL. This can be frustrating!
Have you recently made any changes to your
Phone Number settings? Since you mentioned you've configured the Azure URL at both the Assistant and Function levels, the issue might be at the Phone Number level, which would override your Assistant settings according to [Vapi's server priority](
https://docs.vapi.ai/server-url/setting-server-urls).
Could you check if there's an old ngrok URL configured at the Phone Number level in your Vapi dashboard? Also, when was the last time you used that ngrok URL for development before switching to Azure?
Another possibility is caching - sometimes Vapi might be using a cached version of your server URL. Have you tried restarting the assistant or creating a new one with the correct Azure URL to see if that resolves the issue?
Source:
- [Setting Server URLs](
https://docs.vapi.ai/server-url/setting-server-urls)