unpod logo
Platform
Numbers & SIPBuy, port and route numbers and SIP trunksCalls APIPlace, control and log calls programmaticallyAudio StreamingStream live call audio to your own agent
Voice AgentsSample calls, how it works and what is includedAgent SDKYour agent code; Unpod runs speech and turn-takingAgent StudioDesign, ground and test agents in the appSpeech InfraSTT, TTS and fault-tolerant orchestrationPlaybooksStart from proven playbooks for your industryInsightsTrack, test and monitor agent performance
DocsGuides and quickstartsAPI referenceEvery endpoint, with examplesGitHubOpen-source code and SDKsDiscordAsk the team and community
Blog
Playground
unpod logo

Autonomous agents for revenue and service teams, built on realtime voice + messaging infrastructure - an open-source conversation framework and CPaaS on metered telephony + speech, so any agent can call and text the real world.

GitHubDocumentation

Products

  • Platform
  • Numbers & SIP
  • Calls API
  • Audio Streaming
  • Voice Agents
  • Agent SDK
  • Agent Studio
  • Speech Infra
  • Playbooks
  • Insights

Industries

  • Financial Services
  • Retail & E-commerce
  • Insurance
  • BPOs
  • Healthcare
  • Real Estate
  • Travel & Hospitality
  • Education
  • Logistics

Developers

  • Documentation
  • GitHub
  • API reference
  • Discord

Company

  • About
  • Privacy
  • Terms
© 2026 Unpod.ai · All rights reservedMade in India ❤️ · Built for the world
Audio Streaming

Live call audio,
streamed to your AI.

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.

<40 msTelephony latency
99.99%Call completion
BYOCarrier & models
Request a Demo →Start BuildingRead the docs
✓Bidirectional WebSocket
✓Barge-in ready
✓Metered per-minute
Audio stream
Live call
wss://your-server.com/streambidirectional
▲ caller · inboundμ-law 8 kHz · 20 ms frames
▼ agent · outboundplayAudio
← start streamId=7f2c… μ-law/8000
← media chunk=41 track=inbound 160B
← media chunk=42 track=inbound 160B
→ playAudio sampleRate=8000 320B
→ checkpoint name=greeting-done
← playedStream name=greeting-done
How it works

One WebSocket between your call and your AI.

Unpod answers the call and streams its raw audio to your server. Your agent streams its voice back on the same socket.

Live pipeline
~20 ms frames

Caller

PSTN · SIP · WebRTC

Unpod

Numbers · trunks · routing

Your server

wss:// · signed

AI services

STT · LLM · TTS
media → caller audio, μ-law 8 kHz← playAudio, agent voice<40 ms Unpod hop
01

Caller dials in

A customer calls your Unpod number, or you place an outbound call through the API.

02

Unpod opens the stream

Unpod answers, reads your stream config and opens a signed wss:// connection to your server.

03

Your server listens

Receive media frames every 20 ms and pass them to your speech-to-text.

04

Your AI replies

Send playAudio back; send clearAudio when the caller interrupts.

Quickstart

From dial tone to dialogue in minutes.

Point a number at your WebSocket, handle a few JSON events, and your agent is on a real phone line.

  1. 01

    Get a number

    Buy a DID or bring your own carrier with a SIP trunk.

  2. 02

    Add a stream

    Set your wss:// URL, direction and codec on the number.

  3. 03

    Handle events

    Read start, media and dtmf; send playAudio and clearAudio.

  4. 04

    Call it

    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"
}
Capabilities

Everything a production voice agent needs from the line.

Codecs, interruption, security and the stream lifecycle are handled for you — nine capabilities, three groups.

Live conversation

How the agent listens and talks
WebSocket

Bidirectional WebSocket

Receive caller audio and send synthesized speech back over one connection.

Barge-in

Interruption handling

Clear queued audio with clearAudio the moment the caller speaks; track playback with checkpoints.

DTMF

In-stream DTMF, both ways

Receive keypresses as dtmf events mid-stream, and send digits out to drive an IVR.

Voice quality · latency

What the caller hears
Edge

Edge-routed media

Calls are answered at the edge closest to the caller. Co-locate your server to shorten the hop.

Clean audio

Noise suppression

Filter background noise on the line before it reaches your speech-to-text.

Codec

Native telephony codecs

μ-law 8 kHz for phone calls, or 16-bit Linear PCM at 8 or 16 kHz for wideband STT.

Operations · security

What production demands
Webhooks

Lifecycle callbacks

started, stopped and failed webhooks with duration and status reason.

Metadata

Session context

Pass tenant, user or language context into the start event with extra headers.

Signed

Signed connections

Every WebSocket upgrade is HMAC-signed and runs over wss/TLS.

Stream directions

Stream one way to listen, both ways to talk.

One setting picks the direction. Same call, same number, same logs.

Both ways — converse

bidirectional

Audio in and out on the same call. Your agent hears the caller and answers in real time.

Caller
Your AI
  • Voice assistantsAnswer, book and resolve on the first call.
  • Voice bots & smart IVRReplace menu trees with natural conversation.
  • Outbound conversationsReminders, renewals and lead follow-up at scale.
bidirectional=truekeepCallAliveclearAudio

One way — listen

listen-only

Observe the call and send nothing back. Perfect for analytics next to a human agent.

Caller
Your AI
  • Real-time transcriptionLive captions and searchable transcripts.
  • Sentiment & QAScore every call, not a 2% sample.
  • Agent assist & co-pilotSurface answers to human agents mid-call.
bidirectional=falseaudioTrack=both
Your AI stack

Bring your own AI. Unpod moves the audio.

Model-agnostic by design. Swap providers without touching the call layer.

Speech-to-text

Transcribe

DeepgramSarvamAssemblyAIWhisper
→
Reasoning

Think

OpenAIAnthropicGoogle GeminiYour model
→
Text-to-speech

Speak

ElevenLabsCartesiaSarvamUnpod voices
Works with Pipecat, LiveKit, VAPI, Retell, Bolna and any API-based provider
Latency

Engineered for the sub-second budget.

A natural reply needs under 700 ms end to end. Unpod keeps the network slice under 40 ms so your models get the rest.

End-to-end response< 700 ms
Speech-to-text<150 ms
LLM<350 ms
Text-to-speech<150 ms
Unpod network<40 ms

Run close to your callers

Host your WebSocket server and model endpoints in the same region as the call for the shortest hop.

  • India trafficMumbai
  • US trafficUS East · US West
  • EuropeFrankfurt · London
  • GlobalMulti-region routing
FAQ

Questions before you stream.

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.

Put your agent on the phone network.

Stream live call audio to your own AI stack — real numbers, your carrier or ours, metered per minute.

Request a Demo →Start BuildingRead the docs
✓BYO carrier
✓BYO models
✓Metered per-minute
Audio Streaming · Unpod