Most enterprise evaluations of voice AI start in the wrong place. A team lines up three speech vendors, compares word error rates on clean English audio, listens to a few text-to-speech samples, and picks a winner. Then the pilot moves to a real phone number, a customer calls in from a moving auto-rickshaw, and the demo-quality experience falls apart. The gap is rarely the model. It is everything between the ringing phone and the model: carrier interconnect, media handling, latency, language coverage, handoff, and the compliance controls that have to sit inside the call rather than after it.
This piece traces one live phone call from the PSTN edge to the AI model and back, layer by layer, so you can evaluate an architecture instead of a feature list.
What Voice Streaming Actually Is in an Enterprise Voice AI Stack
Voice streaming is the continuous, bidirectional transport of live call audio between a telephony network and an application that can listen and speak in real time. On a traditional call, audio flows from caller to agent and back. On a streamed call, the platform forks or terminates that media and pushes it, in small chunks, to an AI service over a persistent connection, while accepting synthesized audio back on the same connection and injecting it into the live call.
That single sentence hides a lot of engineering. The audio arrives as RTP packets on a carrier trunk at 8 kHz. It has to be transcoded, buffered against jitter, chunked, framed, authenticated, and delivered to a model that expects a different sample rate and format. The response then has to travel back and land in the caller’s ear before they conclude nobody is there.
So the real discovery question is not which speech model wins a benchmark. It is whether a platform can hold a telephone-grade media path open, reliably, at volume, across languages, under regulatory scrutiny.
The Five Layers Between a Ringing Phone and an AI Model
Every enterprise voice AI call passes through the same five layers, whether or not the vendor exposes them:
- Carrier and SIP. Numbering, trunking, interconnect, call setup, and routing.
- Media path. Codecs, transcoding, forking, and the streaming transport that carries audio to and from the application.
- Latency budget. The end-to-end time from the caller finishing a word to the AI’s first audible syllable.
- Speech and language. Recognition, language and dialect handling, noise and accent resilience, and speech synthesis.
- Orchestration. Turn-taking, barge-in, DTMF, business logic, API actions, human handoff, and compliance capture.
Failures in layers one through three are usually invisible in a proof of concept and fatal in production. Layers four and five are where most vendors compete, because they are the easiest to demo. Weigh them accordingly.
Layer 1: Carrier and SIP, or Why Cloud Telephony Discovery Starts With Numbering and Trunking
Before any audio reaches a model, a call has to arrive. That depends on things no ASR benchmark measures: whether you can obtain and legally operate local numbers, how many telco circles the provider terminates in, whether call setup times stay consistent at peak, and what happens when a single carrier route degrades.
In India, coverage across telco circles drives connect rates and answer quality for outbound campaigns far more than model choice does. Exotel operates across 11 telco circles in the country and runs on licensed local number infrastructure in the UAE under TRA and CBUAE oversight. For a bank running verification calls in Bengaluru and Dubai, that licensing question comes before any conversation about prompts.
Virtual SIP matters here too. A software-defined SIP layer lets an enterprise keep existing PRI or SIP trunks and existing numbers, while adding programmable call control and streaming on top. That removes the migration cliff that stalls most cloud telephony discovery projects. You do not have to port every number and rebuild every IVR before you can test an AI agent on one queue.
Questions worth asking at this layer: Who owns the interconnect? What is the failover path when a route degrades mid-campaign? Can the platform support hybrid deployments where media stays inside your data centre while control logic runs in the cloud?
Layer 2: Codecs, WebSockets, and How a Telephony Voice Streaming API Forks Audio in Real Time
PSTN audio is narrowband. G.711 mu-law or a-law at 8 kHz, 20 ms packets, roughly 300 Hz to 3.4 kHz of usable frequency. Mobile legs may add compression artefacts on top. Most speech models are trained and tuned for 16 kHz or higher, so something in the path must upsample, and no upsampler recovers information the codec already discarded.
A telephony voice streaming API sits at this boundary, and it typically does one of two things. It forks the media, mirroring audio to an application while the call continues normally, which suits real-time transcription, agent assist, and quality monitoring. Or it terminates the media into the application, so the AI agent becomes the far end of the call and can both listen and speak. Voicebot deployments need the second mode. Supervisory analytics can live with the first.
Details that decide whether this works at scale:
- Channel separation. Streaming caller and agent audio as separate channels removes the need for speaker diarisation and makes barge-in detection far more reliable.
- Transport. Persistent WebSocket connections with binary or base64-encoded frames, sequence numbers, and clean reconnection semantics beat request-response HTTP for anything conversational.
- Buffering discipline. Jitter buffers smooth network variance but add delay. Every millisecond of buffer is a millisecond your AI cannot spend thinking.
- Backpressure and reconnection. What happens when the model service slows down or a socket drops at second 47 of a 3-minute call? The answer should be graceful degradation, not a dead call.
Exotel exposes this layer directly through AgentStream for real-time voice streaming and the StreamKit Cloud Connector for wiring streams into external AI services. That is what makes the same media path usable by an in-house model team and a packaged voicebot alike.
Layer 3: The Latency Budget, and What Low Latency Voice Streaming Has to Mean on an 8 kHz Call
Humans notice conversational delay well before a second passes. On a phone call, with no visual cues, silence reads as a dropped line. The useful way to think about performance is therefore a budget, not a single number.
The budget gets spent in sequence: network transit from handset to carrier to platform, jitter buffering, transcoding, streaming to the AI service, endpointing (deciding the caller has stopped speaking), model inference to first token, speech synthesis to first audio byte, and the return trip into the live call. Endpointing alone is a design decision with real cost. Wait 700 ms of silence before responding and you will rarely interrupt anyone, but every turn feels slow. Wait 200 ms and the agent starts talking over a caller who was mid-thought.
Owning the network layer changes the arithmetic. When telephony, streaming, and the AI runtime sit on one architecture, the hops between them collapse and the platform can hold a tighter budget. Exotel designs for sub-300 ms voice latency and 99.99% platform uptime on telecom-grade infrastructure, with a zero-dropped-call design goal. A bot stitched on top of a third-party telco inherits that vendor’s routing, jitter, and failover behaviour with limited ability to tune it.
When comparing providers, ask for latency measured end-to-end on a real PSTN call, not model inference time in isolation. And ask for the distribution, not the mean. The p95 turn is what customers remember.
Layer 4: Multilingual Voice AI for Code-Mixed Hindi, Hinglish, Arabic, and Accent Resilience
Language coverage on a vendor slide usually means a list. What matters in production is behaviour on the messy input real customers produce.
Indian callers routinely code-mix within a single sentence: “Mera EMI ka due date kya hai?” A system that has to detect one language per utterance will mishandle that constantly. Hinglish needs to be treated as its own working mode, not as English with errors or Hindi with errors. Arabic brings a different problem: Modern Standard Arabic in training data, Gulf and Levantine dialects on the actual call, plus code-switching into English for product terms and numbers.
Then there is the channel itself. Traffic noise, wind, speakerphone in a warehouse, weak signal on a highway, a television in the background, two people talking in the room. Multilingual voice AI that only holds up on clean studio audio will produce a containment number in the pilot that it cannot reproduce in the field.
Practical evaluation criteria for this layer:
- Code-mixed handling within a single utterance, not just per-call language selection.
- Number, date, and currency recognition across languages, since amounts and due dates carry the business logic in BFSI conversations.
- Named entity accuracy on Indian and Arabic names, product names, and city names.
- Noise-resilient recognition tested on mobile-recorded audio, not curated samples.
- Voice naturalness in the target language, including prosody on numbers, which is where synthetic speech most often breaks the illusion.
Exotel’s voice agents run across English, Hindi, Hinglish, Arabic and other languages, with noise resilience and interruption handling built into the streaming layer rather than bolted on afterwards.
Layer 5: Orchestration, Covering Barge-In, Turn-Taking, DTMF, and Real-Time Actions
Orchestration is where a stream becomes a conversation and a conversation becomes a transaction.
Barge-in is the first test. When a caller interrupts, the platform must detect speech energy on the caller channel, stop playback within a few hundred milliseconds, discard queued synthesized audio, and re-open the recognition window. Systems that only support half-duplex playback feel like an IVR with a nicer voice.
DTMF still matters and is often forgotten. Regulated flows frequently require a keypress for consent, authentication, or menu selection, and digits may arrive in-band or as RFC 2833 events. The orchestration layer has to catch both, mid-stream, without breaking the AI turn.
Beyond dialogue, the agent needs to do things. Fetch an outstanding balance, verify an application status, trigger a payment link, log a disposition, schedule a callback. That means live API calls to CRM, core banking, LMS, or payment gateways inside the turn, with sensible timeout behaviour when the downstream system is slow. Exotel supports this through 150+ pre-built integrations with CRMs and helpdesks plus open REST APIs, and exposes platform capabilities to agentic systems through its MCP Server, currently in beta.
Where the Human Belongs: Designing AI-Human Handoff Into the Stream
Handoff is usually treated as a failure path. It should be treated as a designed transition, because the moments requiring a human are frequently the highest-value moments on the call: a distressed customer, a disputed charge, a complaint that carries regulatory weight.
Building handoff into the media path rather than around it means three things. The transfer happens on the same call leg, so the customer is not disconnected and re-queued. The human agent receives the full context, transcript, intent, sentiment, and any actions already taken, so the customer does not repeat themselves. And the platform keeps streaming, so quality analysis and compliance capture continue without a gap.
Exotel’s approach to AI-Human Harmony puts AI on roughly the routine three-quarters of queries while humans take judgment and empathy work, with one agent able to monitor several AI conversations and step in with full context. Every intervention feeds back as training signal. AI Assist then works the other direction during human turns, offering next-best-action prompts, knowledge suggestions, live sentiment alerts, and automated wrap-up, contributing up to around 40% agent productivity gains as reported by Exotel.
Compliance Controls That Must Live Inside the Media Path
Ask any head of compliance evaluating a voicebot what worries them, and it is rarely the model’s vocabulary. It is proof. Proof that consent was captured, that the disclosure was read, that the script was followed, that the recording exists and has not been tampered with, that the call happened inside permitted hours, and that all of it can be produced for an auditor months later.
Post-call batch processing cannot deliver several of those. Consent capture has to happen in the turn where consent is given. Script adherence has to be checked against what was actually spoken. Real-time redaction of card numbers or identifiers has to happen before audio or transcripts land in storage. Live sentiment and escalation triggers only work if they run on the stream.
Controls worth insisting on at this layer:
- Audit-ready recording with tamper-evident storage and role-based access.
- In-call consent capture and disclosure verification, logged against the interaction.
- Automated script-adherence and quality scoring across 100% of conversations rather than a manual sample, which is what Exotel’s Conversation Quality Analysis is built to do.
- Encryption in transit and at rest, under ISO 27001:2013 and PCI DSS certified operations.
- Regional regulatory alignment, including the RBI Fair Practices Code, OJK in Indonesia, BSP in the Philippines, and licensed number operation under TRA and CBUAE in the UAE.
None of this substitutes for your own legal review. It does determine whether your team spends audit season pulling evidence from a platform or reconstructing it by hand.
Three Architectures for Voice AI for Enterprise
Most proposals you receive will be one of three shapes.
Bot-on-top. A conversational AI vendor sitting on someone else’s telephony. Fast to demo, and the speech experience can be excellent. The weakness is structural: latency, call quality, failover, and number provisioning are controlled by a party you have no contract with. When calls drop, diagnosis crosses a vendor boundary.
Best-of-breed assembly. You buy telephony from one provider, ASR and TTS from others, an LLM from a fourth, and orchestrate it yourself. Maximum control, and the right answer for teams with a dedicated voice platform group. The cost is real. You own the latency budget, the reconnection logic, the compliance plumbing, and the integration testing every time one vendor ships a change.
Unified stack. AI agents, contact centre, and telecom infrastructure on one architecture, from the carrier interconnect to the model. Fewer tuning knobs than full assembly, but one accountable party for latency, uptime, recording, and regulatory posture, and no context lost between bot, agent, and channel.
The choice follows your engineering capacity and your risk tolerance rather than any objective ranking. Regulated, high-volume outbound tends to push toward unified, because that is where the compliance and reliability burden is heaviest.
How Exotel AgentStream and StreamKit Assemble These Layers
Exotel’s voice streaming capabilities exist because the company already operated the layers underneath them. AgentStream handles real-time media streaming out of the telephony layer, and StreamKit Cloud Connector links those streams to AI services without asking enterprises to rebuild their telephony. On top of that sit the packaged GenAI voicebot, the AI-powered contact centre, and the CCDP context layer that carries customer memory across bots, human agents, and channels.
Because the same architecture runs the carrier interconnect and the AI runtime, the latency budget, failover behaviour, recording, and consent capture are managed in one place rather than negotiated across three contracts. Exotel reports up to 75% containment with AI voice and chat agents, 99.99% uptime, and 25B+ interactions powered annually for 7,000+ enterprise clients across 60+ countries, with deployment options spanning public cloud, private cloud, on-premise, and hybrid for teams that need media to stay inside their own perimeter.
Architecture Questions to Ask Any Voice Streaming API Provider Before a Pilot
Take these into vendor conversations and the discussion shifts from demo quality to deployment readiness:
- Do you own the telephony layer, or resell it? Ask who you call at 2 a.m. when connect rates fall in one circle.
- What is p95 end-to-end turn latency on a live PSTN call, measured from caller silence to first audible AI syllable?
- How is audio forked or terminated, and do we receive separate channels for caller and agent?
- What happens on socket drop or model timeout mid-call? Ask for the specific fallback behaviour.
- How is code-mixed speech handled within a single utterance, and what accuracy have you seen on mobile-recorded audio in our target languages?
- Where does barge-in detection run, and what is the measured stop-playback time?
- Can consent capture, redaction, and script-adherence scoring run inside the call, not in a nightly batch?
- What number licensing do you hold in each country we operate in, and under which regulator?
- How does a call transfer to a human without disconnecting, and what context travels with it?
- Which deployment models are supported if media cannot leave our data centre?
A provider that answers all ten precisely is describing an architecture. A provider that redirects every question to model quality is describing a demo.
FAQs
A standard voice API controls call flow: dial, answer, transfer, play an audio file, hang up. A voice streaming API additionally opens a live, bidirectional media connection so an external application can receive call audio in real time and inject synthesized speech back into the same call. Voicebots need the streaming capability. Simple IVR and click-to-call flows do not.
Anything beyond roughly a second of silence after the caller stops speaking reads as a dropped call, so most enterprise deployments target well under that end-to-end. Exotel designs for sub-300 ms voice latency on its telecom-grade infrastructure. Measure the p95 turn on a real PSTN call rather than model inference time alone, because network, buffering, and endpointing consume a large share of the budget.
In most cases, yes. A virtual SIP layer allows an enterprise to retain existing numbers and trunks while adding programmable call control and streaming on top, which avoids porting every number before testing an AI agent on a single queue. Confirm with your provider which trunk types and hybrid deployment models they support before scoping the pilot.
Code-mixed speech has to be handled within the utterance, not by selecting one language per call. Systems built for Indian traffic treat Hinglish as its own working mode, with recognition tuned for mixed vocabulary plus accurate handling of numbers, dates, and amounts across both languages. Test this specifically with recordings from your own customer base, since results on curated audio rarely transfer.
Typically the call recording with tamper-evident storage, the transcript, logged consent and disclosure events, script-adherence and quality scores, call timing records, and access logs showing who retrieved what. Capturing consent and running redaction inside the live call, rather than in post-call processing, is what makes that evidence trail defensible. Platforms operating under ISO 27001 and PCI DSS with regional alignment to frameworks such as the RBI Fair Practices Code make assembling this pack considerably easier, though your own legal review still governs.










