Handle Twilio voice call webhook (legacy)
Legacy catch-all Twilio voice webhook retained for backwards compatibility. Acknowledges with 200 and forwards the payload to the calls service for status processing — new integrations should target the specific /api/webhook/calls/twilio/ routes instead.
Body
Twilio-assigned call identifier (CA…).
Twilio call state, e.g. ringing, in-progress, completed, busy, no-answer, failed.
Calling party phone number in E.164.
Called party phone number in E.164.
Call direction reported by Twilio: inbound, outbound-api, outbound-dial.
Response
Plain-text acknowledgement. New integrations should use the typed inbound/outbound/status/recording/amd routes instead.
The response is of type string.
"OK"