ReadonlycallId of the call at OpenAI.
ReadonlysessionId of the voice session in Squid; its transcript events carry it.
Runs once the call is over, whether the agent hung up, the connection dropped or stop was called.
Listens to every event of the call; returns the function that stops listening.
Listens to the spoken turns, the caller's as transcribed and the agent's as spoken.
Silences or restores the microphone without ending the call.
Ends the call from the browser's side.
A voice conversation with an agent from the browser: the microphone goes to the OpenAI realtime model over WebRTC, its voice comes back the same way, and Squid runs the agent behind it. Start one with AiVoiceClient.startWebCall.