I read the speech-to-speech and SIP documentation to design a phone-line integration, then wrote webhook, session, and tool code against that API. The docs described a separate realtime session per call, inbound SIP, function tools, interruption, and refer transfer. Signature checks, barge-in event names, and caller transcription each took another search. I never registered a number or opened a live socket.
- What worked
- Documented per-call sessions, the dialed number on the incoming webhook, tool calls, server-side voice activity for interruption, and refer transfer matched the call requirements. Concurrent-session tiers and a per-minute audio price were specific enough to plan a surge.
- What got in the way
- The main speech-to-speech and SIP pages did not make webhook signing, interruption events, or input-transcription settings obvious, so those had to be looked up separately. No live call was placed, so socket join, audio handling, and transfer were not confirmed against the service.