### Answer
The call_analyzed webhook is designed to be triggered for both web and phone (PSTN) calls, provided the agent is configured correctly and the call session completes successfully [(1) ](
) [(2) ](
) [(3) ](
) [(4) ](
) [(5) ](
) . If you are receiving call_analyzed events for web calls but not for phone calls, here are some possible causes and checks based on the documentation:
1. **Agent Assignment**: Make sure the phone number used for the PSTN call is assigned to the same agent that has the webhook configured. If the phone number is bound to a different agent or version, the webhook may not fire as expected for phone calls [(5) ](
) .
2. **Webhook Configuration**: The webhook_url must be set at the agent level. If set, this overrides the account-level webhook for that agent, and all call events (including call_analyzed) are sent to the specified URL [(2) ](
) [(3) ](
) [(6) ](
) .
3. **Call Completion**: The call_analyzed webhook is only sent after the call completes and the agent session finishes successfully. If the phone call fails to connect or is rejected, the webhook will not be triggered [(1) ](
) [(5) ](
) .
4. **Event Delivery**: The webhook will POST the payload to your endpoint and expects a 2xx response within 10 seconds. It retrie