media
Direction: both. The same frame type carries caller audio to you and your agent’s audio back; each direction uses its configured format (see Audio formats).
Dial → your server (caller audio)
Sent continuously for the life of the call — including silence — in your inbound format, ~20 ms per frame.
Your server → Dial (agent audio)
Send whenever your agent should speak. Chunk size is up to you — Dial buffers and paces playback
to the caller. Everything you send queues in order; use
clear to flush the queue on
barge-in and mark to learn when
playback reaches a checkpoint.