Handle Twilio inbound PSTN call
Inbound PSTN webhook called by Twilio when a customer dials a Tether-provisioned Twilio number. Resolves the owning org/user, creates a Call record, and returns TwiML that dials the browser client (or the ElevenLabs voice agent when AI calling is enabled).
Body
Tether-provisioned Twilio number that was dialed; used to resolve the owning org/user.
Caller phone number in E.164.
Twilio-assigned call identifier (CA…) for the inbound leg.
Twilio call state at webhook time, typically ringing for the inbound trigger.
Response
TwiML response. Dials the agent's browser client (or, when AI calling is enabled, the configured ElevenLabs agent number).
The response is of type string.