urasto.fi

AdeleTechnical handbook

Architecture and component responsibilities

The telephone network, application and model execution run in distinct components. Render keeps control of the call while a worker on Hetzner prepares the answer.

Interfaces and direction

ConnectionProtocol or payloadResponsibility
Twilio → RenderHTTPS POST, TwiML responseIncoming calls, call control and status callbacks.
Twilio → Render → RealtimeWebSocket audio streamCaller audio frames and interim transcripts.
Hetzner → RenderHTTPS long polling and a result POSTA voice or SMS worker claims work and returns its result.
Render ↔ RedisRedis protocolJobs, call state and per-user memory.
Render → Microsoft GraphHTTPS RESTWriting logs, archives and reports to OneDrive.

Who owns the call?

A Docker-hosted Node.js 22 / Express 5 service accepts and verifies Twilio events and decides the next call instruction. A worker receives the current turn and bounded context. Once the result arrives, Render can update the active call through Twilio's REST API.

What survives a restart?

A queue and conversation state stored in Redis persist when the application process changes. An open audio stream is tied to a connection. Queue persistence alone cannot establish that a particular WebSocket or call survived an interruption.

Source material · Technical brochure, 26 Nov, pp. 2–7. Technical specification, 19 Nov, pp. 2–6.