Integrations / SIP and custom media gateways

Bring SIP and custom media gateways media to Dvaarik

Use a gateway you operate to turn a SIP or custom media leg into the platform stream contract.

referencetext mark · no bundled logo

Wire format

Gateway-defined; normalize to the voice-session media format at your boundary

Sample rate

8 or 16 kHz input; request 8, 16, or 24 kHz output

Flush queued playback

Gateway-defined playback flush

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 operate the gateway, trunk, codec conversion, caller identity, routing, and carrier relationship.

Terminate SIP in a gateway you control. Your trusted server creates /v2/voice/sessions with a project key, and your gateway connects normalized media to the returned one-use stream URL.

Implement and secure the media gateway you control. From your trusted server, create /v2/voice/sessions with a project key, then connect only to the returned one-use stream URL.

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.