Unpod opens one secure WebSocket per call. Raw caller audio flows to your server, and your agent’s voice flows back. You own the AI pipeline; Unpod runs the numbers, carriers and phone network.
Unpod answers the call and streams its raw audio to your server. Your agent streams its voice back on the same socket.
A customer calls your Unpod number, or you place an outbound call through the API.
Unpod answers, reads your stream config and opens a signed wss:// connection to your server.
Receive media frames every 20 ms and pass them to your speech-to-text.
Send playAudio back; send clearAudio when the caller interrupts.
Point a number at your WebSocket, handle a few JSON events, and your agent is on a real phone line.
Buy a DID or bring your own carrier with a SIP trunk.
Set your wss:// URL, direction and codec on the number.
Read start, media and dtmf; send playAudio and clearAudio.
Dial the number and talk to your agent. Every call lands in the call logs.
// Stream config attached to a number (illustrative){"url": "wss://your-server.com/stream","bidirectional": true,"keepCallAlive": true,"contentType": "audio/x-mulaw;rate=8000","statusCallbackUrl": "https://your-server.com/stream-status","extraHeaders": "tenant=acme;lang=hi-IN"}
Codecs, interruption, security and the stream lifecycle are handled for you — nine capabilities, three groups.
Receive caller audio and send synthesized speech back over one connection.
Clear queued audio with clearAudio the moment the caller speaks; track playback with checkpoints.
Receive keypresses as dtmf events mid-stream, and send digits out to drive an IVR.
Calls are answered at the edge closest to the caller. Co-locate your server to shorten the hop.
Filter background noise on the line before it reaches your speech-to-text.
μ-law 8 kHz for phone calls, or 16-bit Linear PCM at 8 or 16 kHz for wideband STT.
started, stopped and failed webhooks with duration and status reason.
Pass tenant, user or language context into the start event with extra headers.
Every WebSocket upgrade is HMAC-signed and runs over wss/TLS.
One setting picks the direction. Same call, same number, same logs.
Audio in and out on the same call. Your agent hears the caller and answers in real time.
bidirectional=truekeepCallAliveclearAudioObserve the call and send nothing back. Perfect for analytics next to a human agent.
bidirectional=falseaudioTrack=bothModel-agnostic by design. Swap providers without touching the call layer.
A natural reply needs under 700 ms end to end. Unpod keeps the network slice under 40 ms so your models get the rest.
Host your WebSocket server and model endpoints in the same region as the call for the shortest hop.
It sends the raw audio of a live phone call to your server over a WebSocket, in real time. In bidirectional mode, your server can also send audio back into the call.
μ-law (PCMU) at 8 kHz is recommended for phone calls. 16-bit Linear PCM at 8 kHz or 16 kHz is available for wideband speech recognition.
When the caller starts speaking, send a clearAudio event. Unpod drops any queued agent audio at once, so the caller is never talked over.
Yes. Bring your own SIP trunk or use Unpod numbers. The stream works the same either way.
No, not by default. Audio is streamed, not stored. Turn on recording only if you need it, with data kept in your chosen region.
Yes. Plug the stream into a Pipecat pipeline, or connect LiveKit agents over SIP. Any framework that speaks WebSocket works.
Stream live call audio to your own AI stack — real numbers, your carrier or ours, metered per minute.