Hosted SIM API

Media Streams

Live call audio over a WebSocket, as JSON messages: start one with Connect><Stream> (two-way) or Start><Stream> (one-way).

The connection

We open your wss:// URL with X-DWW-Signature on the upgrade (see Webhooks), and check your certificate for the hostname.

Messages to you

Messages from you (two-way streams)

media (µ-law 8 kHz), mark and clear.

Limits

Timing

start is sent once audio flows, about 1.4 seconds after the answer. Audio you send before start is dropped.