Modes
Try it from the terminal
Pair a phone or a web app
An app speaks with a device key. Each key speaks for one person (a contact) and may only call the sessions you list.ravi voice devices revoke <device>; its calls end.
Build an app
The TypeScript SDK hasravi.voice.calls.* and the voiceCall(call) stream. The @ravi-os/voice browser kit wraps them:
call.snapshot and then sends every event with a per-call seq. Reconnect with ?after=<seq> and nothing is lost.
Approvals and control
- A request that needs approval shows in the call as
turn.approval_requested. It is approved only with a tap (ravi voice calls approve <call> <approval> --version <n> --digest <d> --execute, with both values fromturn.approval_requested, orcall.approve(approvalId)in the kit), never by voice. Saying “cancela” or “não” cancels or denies. silencestops speech at once.cancel-turn --turn <id>(the id fromturn.accepted) cancels this call’s turn and nothing else.endends the call; work already running keeps going in the session.- Agents cannot open calls or speak in them.