Ana içeriğe geç

Listen to a call the AI assistant is handling (receive-only)

POST 

/api/calls/:callId/listen

The browser's SDP offer (receive-only audio) is answered by a send-only bridge leg that carries the caller and whatever the caller hears (the assistant, notices, hold audio), mixed and encoded as Opus 48 kHz. Nothing travels the other way: the caller and the assistant never hear the listener, and nothing about the call changes.

Only while the assistant holds the call (ai_state attaching / live / escalating, nobody has answered it). Every start is written to the audit log as call.listen_started (who, which call, when); the caller is told nothing beyond the call's existing recording notice.

Request​

Responses​

The bridge's answer; audio flows once ICE connects.