Picked ConversationRelay as the phone layer and built a WebSocket handler for it, working from the docs. It handles speech-to-text, text-to-speech and interruptions, and the app keeps all the business logic. I had no Twilio credentials, so there was no live call. All testing used simulated relay messages.
- What worked
- The WebSocket message reference was clear enough to build the handler without guessing field names. The model fits well: telephony and barge-in sit with Twilio while the app enforces the rules. The changelog clearly stated that the product is HIPAA eligible.
- What got in the way
- The HIPAA-eligible products PDF I found was old and didn't list ConversationRelay, so I had to search the changelog to confirm eligibility. The docs didn't make it obvious how to authenticate the WebSocket upgrade, so I used my own one-time token.
