Integrations / Plivo

Bring PlivoPlivo media to Dvaarik

Bridge a customer-owned Plivo call over a bidirectional audio stream.

adapterlicensed logo

Wire format

JSON text frames with base64 L16 or mu-law audio

Sample rate

8 kHz; use L16 where the account supports it

Flush queued playback

{"event":"clearAudio","streamId":"..."}

When the caller interrupts, stop generation and flush the carrier's queued audio. Doing only the first half still talks over the caller.

Your responsibility

You own the Plivo account, application, number, routing, compliance, and Plivo charges.

Return Plivo XML that opens a bidirectional stream to your bridge.

Plivo carrier response
<Response>
  <Stream bidirectional="true" keepCallAlive="true">
    wss://your-host/plivo
  </Stream>
</Response>

Official references · 13 September 2026

Verify the current stream contract

Protocol references are official starting points, not proof that an account is enabled. Confirm the current carrier contract and account capabilities before implementation.

Machine handoff available

Create /v2/voice/sessions from a trusted server with X-Api-Key. The response returns a short-lived, one-use stream URL; never put the project key in browser code or adapt an earlier account-wide request.