AI Summary: This Voice AI glossary defines 40 terms that backend and API integration engineers encounter when building real-time phone agents in 2026. It covers the full stack from carrier-side telephony concepts like SIP, PSTN, and E.164 through media-layer terms like PCM, jitter buffer, and VAD, up to application-layer concepts like barge-in, turn-taking, and LLM orchestration. Each entry includes the engineering constraint that makes the term matter in production. Teler, FreJun’s programmable voice API, appears where it is directly relevant to how a term maps to a real implementation decision.
Scope: This glossary covers terminology used in real-time voice AI systems as of September 2026, with definitions verified against public RFC standards, provider documentation, and Teler’s API specification. It does not cover terms specific to offline batch transcription or non-telephony audio pipelines.
Quick Answer: This Voice AI glossary defines 40 terms developers actually use in 2026 when building real-time phone agents. It spans carrier-side telephony (SIP, PSTN, DID), media transport (RTP, WebSocket, PCM, Opus), and AI pipeline concepts (STT, TTS, VAD, barge-in), with exact parameter values and protocol references where they exist.
This Voice AI glossary is a working reference for engineers who need precise definitions, not marketing summaries, when making architecture decisions for real-time phone agents in 2026.
What is a Voice AI glossary, and why does terminology precision matter?
A Voice AI glossary is a structured reference that defines the technical vocabulary spanning telephony infrastructure, real-time media transport, and AI model integration that engineers encounter when building phone-based AI agents. It occupies the intersection of three historically separate disciplines: telecom engineering, audio signal processing, and machine learning systems. It does not cover general NLP terminology or text-based chatbot concepts. A developer building a real-time phone agent must supply their own STT, LLM, and TTS models; the glossary covers the plumbing that connects those models to a live call.
Why does imprecise Voice AI terminology cause real engineering failures?
Terminology confusion in voice AI is not a documentation problem. It is a bug source. When a developer treats “latency” as a single number rather than a sum of per-stage delays, they optimize the wrong hop. When they conflate “barge-in” with “VAD”, they build interruption handling that fires on background noise. And they assume “SIP trunk” and “WebSocket stream” are interchangeable transport choices, they architect a system that cannot meet its own latency budget.
The Gladia streaming STT benchmark published in August 2026 measured WebSocket frame overhead at 2 to 14 bytes after the initial handshake, compared to 500 to 2,000 bytes per HTTP/REST request header. That difference is why persistent WebSocket connections are the standard transport for real-time voice AI, and why the distinction between a WebSocket stream and a REST polling loop is not academic.

What does the end-to-end audio path look like in a real-time phone agent?
Understanding the terms below requires a mental model of where audio travels. The path from caller to AI model and back crosses several ownership boundaries, each with its own format and latency contribution.
| Hop | Format | Transport | Owner |
|---|---|---|---|
| Caller handset to carrier | G.711 PCM, 8 kHz, narrowband | PSTN or VoIP | Carrier |
| Carrier to telephony layer | G.711 or codec-negotiated | SIP + RTP | SIP trunk provider |
| Telephony layer to developer backend | 16-bit linear PCM, base64 in JSON, 8k or 16k sample rate | WebSocket (persistent) | Teler or equivalent |
| Backend to STT model | PCM or Opus, model-dependent | WebSocket or gRPC | Developer |
| LLM response to TTS model | Text tokens | HTTP or WebSocket | Developer |
| TTS output back to caller | 16-bit PCM at 8 kHz for Teler, resampled if needed | WebSocket to telephony layer | Developer + telephony layer |
Teler streams call audio in chunks whose size is a multiple of 20 ms, with a default of 400 ms. When using the OpenAI Realtime API, note that it operates at 24 kHz, which requires resampling when Teler is configured at the default 8k sample rate.
The Voice AI glossary: 40 terms in production order
Terms are grouped by the layer where they appear in the audio path above. Within each group, they follow the order a developer encounters them when building from the carrier inward.
Carrier and telephony layer
PSTN (Public Switched Telephone Network). The global circuit-switched telephone network that carries voice calls between physical endpoints. When a user dials a phone number, the call originates on the PSTN. A voice AI system must connect to the PSTN through a carrier or a SIP trunk provider to receive and place real calls. The PSTN imposes narrowband audio constraints: 8 kHz sample rate, G.711 encoding by default.
SIP (Session Initiation Protocol). The signaling protocol defined in RFC 3261 that establishes, modifies, and terminates real-time sessions over IP networks. SIP handles call setup and teardown. It does not carry audio. Audio travels separately over RTP. A SIP INVITE message negotiates the codec and port; the actual media stream follows on a different channel.
SIP trunk. A virtual connection between a SIP-capable PBX or application and a carrier’s network, replacing physical phone lines. SIP trunks carry both signaling (SIP) and media (RTP). A developer integrating a voice AI system with an existing PBX will route calls through a SIP trunk. Teler supports SIP trunking with credential-based or IP-based authentication and IP access control lists.
DID (Direct Inward Dialing). A telephone number assigned to a specific endpoint without requiring a physical line per number. In voice AI, a DID is the number callers dial to reach an AI agent. The number is in E.164 format.
E.164. The ITU-T standard format for international telephone numbers: a plus sign followed by country code and subscriber number, with no spaces or dashes, up to 15 digits total. Example: +14155552671. Voice APIs expect E.164 for all number fields. Passing a local format like 4155552671 without the country code will fail silently or route incorrectly.
CPaaS (Communications Platform as a Service). A cloud platform that exposes telephony capabilities, voice, SMS, and video, through APIs. CPaaS providers abstract carrier relationships and number provisioning. Twilio, Plivo, Telnyx, Bandwidth, and Sinch are CPaaS providers. Teler is a programmable voice API layer that sits within this category but focuses specifically on real-time media streaming for AI agents rather than general-purpose communications. For regional comparisons, see Top 11 Best Voice API Providers in UK.
IP ACL (IP Access Control List). A whitelist of IP addresses or CIDR ranges permitted to send SIP traffic to a trunk. IP ACLs are one of two authentication methods for SIP trunks; the other is credential-based (username and password). IP ACLs are simpler operationally but require static IPs on the originating side.
Media transport layer
Core media protocols
RTP (Real-time Transport Protocol). The protocol defined in RFC 3550 that carries audio and video over IP networks. RTP runs over UDP, which means packets can arrive out of order or not at all. A jitter buffer compensates for this. RTP is the media layer beneath SIP; when a SIP call is established, audio flows over RTP between the negotiated ports.
WebSocket. A full-duplex, persistent TCP connection defined in RFC 6455 that enables bidirectional streaming between a client and server after a single HTTP upgrade handshake. In voice AI, WebSocket is the standard transport for streaming raw audio from a telephony layer to a developer backend. The persistent connection eliminates per-request TCP handshake overhead, which matters at 20 ms frame rates. Teler uses a persistent WebSocket for bidirectional media streaming between the call and the developer’s application.
WebRTC. A browser and mobile API, specified by the W3C (WebRTC 1.0) and the IETF, that enables real-time audio and video communication directly between peers or between a browser and a server. WebRTC handles ICE/NAT traversal, codec negotiation, and DTLS encryption. It is the right transport for browser-first voice agents. For PSTN-connected agents, WebRTC typically terminates at a gateway that bridges to SIP/RTP.
Audio formats and codecs
PCM (Pulse Code Modulation). A method of representing analog audio as a sequence of discrete amplitude samples. Linear PCM stores each sample directly, usually as 16-bit integers. Telephony’s G.711 codec is PCM at 8 kHz with samples companded to 8 bits (mu-law or A-law). Wideband voice uses 16 kHz. Most STT models expect linear PCM (raw samples, no file header). Sending a WAV file header into a live stream is a common integration bug that produces garbled transcription.
G.711. The ITU-T standard codec for narrowband telephony audio uses an 8 kHz sample rate and 8-bit samples, with either mu-law (North America, Japan) or A-law (Europe, rest of world) companding. In addition, G.711 is the default codec on the PSTN. Therefore, when a voice AI system receives audio from a carrier, it is almost always G.711. Some STT models accept G.711 directly; others need linear PCM, which is why many telephony layers convert it. Teler delivers 16-bit linear PCM.
Opus. A wideband, low-latency audio codec defined in RFC 6716, designed for interactive voice and audio over IP. Opus supports sample rates from 8 kHz to 48 kHz and adapts to network conditions. WebRTC uses Opus by default. Some STT and TTS providers accept Opus directly; others require PCM. Check the model’s accepted format before choosing a codec. Teler’s WebSocket stream carries 16-bit linear PCM only, not Opus.
Audio streaming parameters
Sample rate. The number of audio samples captured per second, measured in Hz or kHz. 8 kHz is narrowband telephony (PSTN standard). 16 kHz is wideband voice (most modern STT models prefer this). 24 kHz is the rate used by OpenAI’s Realtime API. 44.1 kHz and 48 kHz are music and broadcast rates. Mismatching sample rates between pipeline stages produces audio that sounds pitched up, pitched down, or robotic. Teler streams at 8k or 16k, with 8k as the default; audio sent back to Teler must be 8 kHz.
Chunk size. The duration of audio sent in a single WebSocket frame, measured in milliseconds. Smaller chunks reduce latency but increase per-frame overhead. In contrast, larger chunks reduce overhead but add buffering delay.Teler accepts chunk sizes in multiples of 20 ms, with a default of 400 ms.
Jitter buffer. A buffer that absorbs variable packet arrival times (jitter) in a real-time audio stream. Without a jitter buffer, out-of-order or delayed RTP packets produce audible gaps or clicks. Jitter buffers trade a small fixed delay for smooth playback. The telephony layer manages the jitter buffer on the carrier-facing side; the developer’s backend does not typically need to implement one for the WebSocket leg.
Voice latency metrics
TTFB (Time to First Byte) / TTFA (Time to First Audio). TTFB is the latency from sending a request to receiving the first byte of response. In TTS contexts, TTFA (Time to First Audio) is the more precise metric: the time from the API receiving text input to delivering the first audio chunk. A 2026 benchmark from Gradium measured TTFA across TTS providers and found WebSocket connections add 20 to 50 ms of overhead compared to a pre-warmed HTTP/2 connection. Therefore, TTFA is the metric that determines whether a voice agent feels responsive.
AI pipeline layer
Core AI models
STT (Speech-to-Text). The model or service that converts raw audio into a text transcript. In a real-time voice agent, STT runs on the audio stream as it arrives, producing either partial (interim) transcripts or final transcripts per utterance. Latency at this stage directly adds to the user-perceived response delay. Deepgram, AssemblyAI, and Google Cloud Speech are common STT providers. Teler is model-agnostic: it streams audio to the developer’s backend, which routes to whichever STT the team chooses.
TTS (Text-to-Speech). The model or service that converts text into audio. In a real-time voice agent, TTS receives the LLM’s text output and produces audio that is injected back into the live call. TTFA is the critical latency metric. ElevenLabs, Deepgram Aura, and Cartesia Sonic are common TTS providers. The audio format the TTS produces must match what the telephony layer expects, or resampling is required.
LLM (Large Language Model). The model that generates the agent’s text responses given a transcript of the conversation. In a voice agent pipeline, the LLM sits between STT and TTS. Response latency at this stage is a function of model size, token count, and whether the model streams tokens or returns a complete response. Streaming token output to TTS as tokens arrive reduces the time before the first audio chunk begins playing.
Voice activity and turn detection
VAD (Voice Activity Detection). An algorithm that detects whether audio contains speech or silence. VAD serves two functions in a voice agent: it tells the STT engine when to start and stop transcribing, and it signals the turn-taking logic when the user has finished speaking. Server-side VAD runs in the telephony or STT layer. Client-side VAD runs in the developer’s backend. False positives (detecting speech in background noise) and false negatives (missing quiet speech) are the primary failure modes.
Barge-in. The ability of a caller to interrupt the AI agent mid-utterance and have the agent stop speaking and respond to the interruption. Barge-in requires three coordinated actions: VAD detects the user’s speech, the current TTS audio playback stops, and the pipeline resets to process the new input. The Sarvam streaming TTS documentation notes that their WebSocket has no server-side cancel message, so barge-in must be handled client-side by stopping local playback and opening a fresh connection. Teler exposes a {“type”: “clear”} message that drops all queued audio and an {“type”: “interrupt”} message that stops playback from a given chunk onward. Detecting the interruption is still up to the developer’s backend.
Turn-taking. The protocol by which a voice agent and a caller alternate speaking. In human conversation, turn-taking is managed through prosodic cues, pauses, and backchannels. In a voice AI system, it is managed through VAD thresholds, end-of-utterance detection, and barge-in logic. Poor turn-taking produces agents that talk over callers or wait too long before responding.
End-of-utterance detection. The specific VAD decision that the user has finished their turn and the agent should begin processing. This is distinct from detecting that speech is present. End-of-utterance detection must balance two failure modes: cutting off the user mid-sentence (too aggressive) and waiting so long that the pause feels unnatural (too conservative). Most systems tune a silence duration threshold, typically 300 to 800 ms of silence after speech ends.
Interruption and response handling
Interruption handling. The broader system behavior when a barge-in event occurs. It includes stopping TTS playback, canceling any queued audio, discarding the in-flight LLM response if it is no longer relevant, and starting a new STT-LLM-TTS cycle from the interruption point. A common bug: the interrupted playback never emits a completion callback, so the application hangs waiting for a signal that will never arrive. The fix is a timeout that advances the conversation from a fresh stream rather than waiting indefinitely.
Streaming inference. Running an LLM in a mode where tokens are emitted as they are generated rather than waiting for the complete response. In a voice agent, streaming inference allows TTS to begin synthesizing audio from the first sentence while the LLM is still generating the second. This reduces the user-perceived latency between the end of their utterance and the start of the agent’s audio response.
Knowledge and tool integration
RAG (Retrieval-Augmented Generation). A pattern where the LLM’s context is augmented with documents retrieved from a knowledge base at query time. In a voice agent, RAG allows the agent to answer questions about specific products, policies, or accounts without fine-tuning the model. The retrieval step adds latency; the retrieval must complete before the LLM can begin generating, so the retrieval index and embedding model must be fast enough to fit within the turn-taking budget. For implementation guidance, see How To Use RAG With Voice Agents For Accuracy.
Function calling / tool use. The LLM capability to invoke external functions or APIs during a conversation, such as looking up an account balance or booking an appointment. In a voice agent, tool calls add a round-trip to an external service within the turn. The agent must handle the case where a tool call takes longer than the user expects to wait, either by playing a filler phrase or by setting a timeout.
Semantic processing
Semantic VAD. A VAD approach that uses language model understanding rather than pure audio energy thresholds to determine when a user has finished speaking. Semantic VAD can recognize that a sentence is grammatically complete even if the speaker pauses mid-thought. It reduces false end-of-utterance detections on natural speech patterns. It adds LLM inference latency to the VAD decision.
Call control and telephony API layer
Caller input and IVR
DTMF (Dual-Tone Multi-Frequency). The signaling method used when a caller presses a key on their phone keypad. Each key generates a combination of two audio frequencies. DTMF is used for IVR menu navigation, PIN entry, and numeric input. In a voice AI system, DTMF input is an alternative to speech for structured data entry. Teler supports DTMF with configurable tone duration from 40 to 1000 ms, defaulting to 100 ms.
IVR (Interactive Voice Response). A telephony system that interacts with callers through pre-recorded audio prompts and DTMF or speech input. Traditional IVRs use decision trees. Modern voice AI replaces the decision tree with an LLM, but the underlying telephony infrastructure, phone number, call routing, and audio streaming, is the same. Migrating from a legacy IVR to an AI voice system is a common use case for programmable voice APIs. See How To Migrate Legacy IVR Using Voice API Integration for a practical walkthrough.
Call control and transfer
Call control. The set of programmatic actions a developer can take on a live call: answer, hang up, mute, hold, transfer, play audio, inject DTMF. Call control is distinct from media streaming. A telephony API exposes call control through REST endpoints or WebSocket messages. Teler exposes live call control including hangup, mute, DTMF, audio playback, and transfer.
Cold transfer. A call transfer where the original agent disconnects before the caller is connected to the destination. The caller may hear hold music or silence during the transfer. Cold transfer is simpler to implement than warm transfer (where the original agent stays on the line to brief the destination). Teler supports cold transfer with a configurable timeout from 1 to 600 seconds, defaulting to 30 seconds.
Call events and media
Webhook. An HTTP callback that a platform sends to a developer-specified URL when a call event occurs. ITeler sends webhooks for call and stream events, including stream.completed when a media stream ends and call.failed when a call fails Webhooks are how a backend learns about call state changes without polling. The developer’s webhook endpoint must respond quickly (typically under 5 seconds) or the platform will retry.
Media streaming. The real-time delivery of raw audio from a live call to a developer’s backend over a persistent connection. Media streaming is what separates a programmable voice API from a simple click-to-call widget. The developer receives audio as it arrives, processes it through STT and LLM, and injects TTS audio back into the call. Teler’s media streaming documentation is at frejun.com/docs/teler/media-streaming/how-it-works/
Programmable telephony infrastructure
Programmable SIP. A SIP infrastructure layer that exposes call control and media access through an API, rather than requiring manual PBX configuration. Programmable SIP allows developers to intercept calls, route them dynamically, and stream media to application backends without operating a traditional PBX. It is the mechanism that makes real-time voice AI on PSTN calls possible at scale. For architecture context, see Why Programmable SIP Is the Backbone of Voice Infrastructure for AI Agents.
Infrastructure and operations layer
Elastic SIP trunking. SIP trunking capacity that scales automatically with call volume rather than requiring pre-provisioned channel counts. Traditional SIP trunks have a fixed channel limit; elastic trunks burst on demand. For AI voice agents that handle unpredictable inbound call volumes, elastic trunking prevents call rejection during traffic spikes.
Edge PoP (Point of Presence). A geographically distributed server location where a platform terminates calls and processes media. Routing a call to the nearest PoP reduces the network distance between the caller and the AI backend, which reduces latency. The developer’s backend should be deployed in the same region as the PoP handling the call to minimize the WebSocket leg latency.
E2EL (End-to-End Latency). The total time from when a user finishes speaking to when they hear the first audio from the AI agent. E2EL is the sum of: end-of-utterance detection delay, STT processing time, LLM time to first token, TTS time to first audio chunk, and network round-trip time on each leg. Teler targets sub-100ms packet delivery as a design specification, not a measured benchmark. The STT and LLM stages typically dominate E2EL in practice.
Resampling. Converting audio from one sample rate to another. Resampling is required when two pipeline stages operate at different sample rates. A common case: the telephony layer streams at 8 kHz (PSTN default), but the STT model expects 16 kHz, or the TTS model outputs at 24 kHz (the default for OpenAI’s TTS and Realtime APIs) and the telephony layer expects 8 kHz. Resampling adds CPU overhead and a small amount of latency. It should happen once, at a defined stage, not implicitly at multiple hops.
Model-agnostic. A telephony or voice infrastructure layer that does not require the developer to use a specific STT, LLM, or TTS provider. A model-agnostic layer streams raw audio to the developer’s backend and accepts audio back, leaving model selection entirely to the developer. Teler is model-agnostic: it is compatible with OpenAI Realtime, Gemini Live, ElevenLabs, Deepgram, Vapi, Ultravox, Sarvam, Devnagri, LiveKit, and custom models.
SSO/SAML. Single Sign-On via the Security Assertion Markup Language standard, which allows enterprise teams to authenticate to a platform using their existing identity provider (Okta, Azure AD, Google Workspace). For voice AI platforms handling sensitive call data, SSO is often a procurement requirement.
Conversation design and quality layer
Prosody. The rhythm, stress, and intonation patterns of speech. In TTS, prosody determines whether synthesized speech sounds natural or robotic. Modern neural TTS models generate prosody from context; older concatenative models required explicit markup (SSML). Prosody is the primary quality dimension that separates a voice agent that users tolerate from one they prefer.
SSML (Speech Synthesis Markup Language). An XML-based markup language for controlling TTS output: pauses, emphasis, speaking rate, pitch, and phoneme pronunciation. SSML is supported by most cloud TTS providers. In a real-time voice agent, SSML is useful for inserting pauses at sentence boundaries or emphasizing key terms, but complex SSML adds processing overhead that can increase TTFA.
Sentiment detection. Classifying the emotional tone of a caller’s speech as positive, negative, or neutral, either from audio features (acoustic sentiment) or from the transcript (text sentiment). In a voice agent, sentiment detection can trigger escalation to a human agent, adjust the agent’s tone, or flag calls for quality review. See How To Enable Sentiment Detection In Voice Agents for implementation patterns.
FCR (First Call Resolution). The percentage of calls where the caller’s issue is resolved without a callback or transfer. FCR is the primary business metric for inbound voice AI deployments. It is a function of the agent’s knowledge base coverage, its ability to handle multi-turn conversations, and its escalation logic. High FCR requires accurate STT, a capable LLM, and well-designed conversation flows.
AHT (Average Handle Time). The average duration of a call from answer to disconnect, including hold time and after-call work. AHT is a contact center efficiency metric. Voice AI agents typically reduce AHT by handling routine queries faster than human agents, but poorly designed agents can increase AHT by requiring callers to repeat themselves due to STT errors or barge-in failures.
Conversation context. The accumulated state of a multi-turn conversation: prior utterances, extracted entities, confirmed facts, and pending actions. In a voice agent, conversation context is passed to the LLM as part of the prompt on each turn. Managing context window size is an engineering constraint: long calls accumulate more context than some models handle efficiently. Strategies include summarization, selective retention, and external memory stores.
Most teams discover their latency problem is not the model. It is the resampling hop they added between the carrier and the STT engine, or the fact that they are re-establishing a WebSocket connection on every turn instead of keeping one persistent stream open for the duration of the call.
– Subhash Kalluri, Founder & CEO, FreJun

What breaks in production: failure modes tied to these Voice AI glossary terms
Knowing the definition is not enough. Each of the following failures maps directly to a term above and has been observed in real integrations.
| Symptom | Root cause term | Fix |
|---|---|---|
| Agent keeps talking after caller interrupts | Barge-in / interruption handling | Send {"type": "clear"} on speech detection; stop local TTS playback; open a fresh stream for the next turn |
| Audio sounds robotic or pitched wrong | Sample rate / resampling | Confirm the sample rate at every pipeline stage; resample once at a defined hop, not implicitly at multiple points |
| App hangs after an interrupted turn | Interruption handling / completion callback | Add a timeout on playback completion; advance the conversation from a fresh stream rather than waiting for a callback that may not arrive |
| Agent cuts off caller mid-sentence | End-of-utterance detection / VAD | Increase the silence threshold; consider semantic VAD if acoustic VAD fires on natural pauses |
| First response takes 2 or more seconds | E2EL / resampling / WebSocket reconnection | Keep one persistent WebSocket per call; measure latency per stage; eliminate unnecessary resampling hops |
| Garbled transcription on call start | PCM / file header leak | Strip WAV or container headers before sending raw PCM to the STT model; send mono audio only |
The failure that catches most teams is the resampling mismatch between the telephony layer and the STT model. A developer configures Teler at the default 8k sample rate, passes audio directly to an STT model that expects 16 kHz, and gets transcription that is technically functional but noticeably less accurate. The fix is explicit: set the Teler stream to 16k if the STT model prefers it, or resample in the backend at a single defined point. One honest limitation of Teler’s current documentation: the exact audio encoding format (mu-law vs. linear PCM) is not specified in the public docs, so developers should verify this with the API reference at frejun.ai/docs/ before building the resampling step.
How do the main transport architectures compare for voice AI?
Four distinct approaches exist for connecting a voice AI backend to live phone calls. The right choice depends on where the team wants to own the engineering complexity.
| Approach | Media terminates at | Latency cost | Operational burden | Lock-in |
|---|---|---|---|---|
| Provider-native voice bridge (e.g., Teler) | Provider edge, streamed to backend | Low, sub-100ms target | Low, carrier and number provisioning handled | Platform coupling on call control API |
| Raw WebSocket media streaming | Developer backend | Low if persistent connection maintained | Medium, custom buffering and state management required | Low, transport is standard WebSocket |
| SIP trunk into a media server | Developer PBX or media server | Medium, SIP signaling adds setup time | High, SIP signaling, RTP handling, codec conversion, telecom ops | Low, standard protocols |
| WebRTC gateway | Browser or gateway | Low for browser clients, higher for PSTN bridging | Medium, ICE/NAT traversal, browser media handling | Low, W3C standard |
For most teams building AI phone agents in 2026, the provider-native bridge is the right starting point. It eliminates carrier relationships, number provisioning, and codec conversion from the developer’s scope. The trade-off is that call control behavior is governed by the provider’s API surface. If the team already operates a SIP media server or needs to integrate with an existing PBX, the SIP trunk approach preserves more control but requires telecom engineering expertise. The WebRTC path is correct for browser-first agents where PSTN reach is not required.
Frequently asked questions
What is the difference between VAD and barge-in?
VAD detects that speech is present in an audio stream. Barge-in is the system behavior that occurs when VAD detects speech while the agent is speaking: it stops the agent’s audio and starts processing the new input. VAD is a component; barge-in is a feature that uses VAD as its trigger. A system can have VAD without implementing barge-in, but barge-in requires VAD.
Why does my audio sound robotic even though the STT transcription is correct?
Correct transcription does not rule out a sample rate mismatch. The STT model may tolerate off-rate audio well enough to transcribe accurately, while the TTS output injected back into the call is at the wrong rate for the telephony layer. Check the sample rate at every stage: Teler stream configuration, STT input expectation, TTS output rate, and the telephony layer’s expected inbound rate. A single resampling step at a defined point is the fix.
When should I use SIP trunking instead of a WebSocket media stream?
Use SIP trunking when you need to integrate with an existing PBX, when your team already operates SIP infrastructure, or when carrier-level features like number portability and direct routing matter. Use a WebSocket media stream when you want to build an AI agent from scratch without managing SIP signaling, RTP, or codec negotiation. The WebSocket path is lower operational burden for new builds; SIP trunking is the right choice for integrating with existing telephony infrastructure.
What happens to my WebSocket stream if the call volume spikes suddenly?
Each concurrent call requires its own persistent WebSocket connection to the telephony layer. At scale, the bottleneck shifts from the WebSocket transport itself to the backend’s ability to handle concurrent connections and the STT and LLM services’ throughput limits. Teler uses elastic SIP trunking to handle burst call volume on the carrier side. The developer’s backend must be designed for horizontal scaling, with each call handled by a stateless worker that can be spun up independently.
Does Teler handle STT and TTS, or does the developer supply those?
Teler does not provide STT or TTS. It streams raw audio from the live call to the developer’s backend over WebSocket and accepts audio back for injection into the call. The developer connects their own STT, LLM, and TTS models. Teler is compatible with OpenAI Realtime, Gemini Live, ElevenLabs, Deepgram, and others. This model-agnostic design means the developer owns model selection and can swap providers without changing the telephony layer.
What is E.164 and why does it matter for phone number provisioning?
E.164 is the ITU-T standard format for international phone numbers: a plus sign, country code, and subscriber number with no spaces, up to 15 digits. Voice APIs, including Teler’s, require E.164 for all number fields. Passing a local format without the country code will either fail with a validation error or route incorrectly. Always normalize numbers to E.164 before passing them to any telephony API.
What is the difference between cold transfer and warm transfer?
In a cold transfer, the AI agent disconnects before the caller is connected to the destination. The caller may hear hold music or silence during the handoff. In a warm transfer, the original agent stays on the line to brief the destination before dropping off. Cold transfer is simpler to implement and is what Teler’s call control API supports directly. Warm transfer requires holding the original call while establishing a second leg, which is a more complex call control sequence.
How do I measure end-to-end latency in a voice AI pipeline?
Measure each stage independently: end-of-utterance detection delay, STT time from audio receipt to final transcript, LLM time to first token, TTS time to first audio chunk (TTFA), and network round-trip time on each WebSocket leg. Do not measure only the LLM stage. In most production systems, the STT and resampling stages contribute more to perceived latency than the LLM does. Log timestamps at each stage boundary and compute the sum to find the dominant bottleneck.
What this Voice AI glossary means for your next architecture decision
This Voice AI glossary covers the 40 terms that appear most often in real engineering decisions when building phone-based AI agents in 2026. The terms are not independent: VAD drives barge-in, barge-in requires interruption handling, interruption handling depends on how the telephony layer exposes media control. The one decision that matters most before writing any code is where audio terminates and who owns the resampling step. If the team cannot answer that question precisely, the latency and quality problems that follow will be difficult to diagnose. For teams starting from scratch, a model-agnostic telephony layer like Teler handles the carrier, number provisioning, and WebSocket transport, leaving the STT, LLM, and TTS choices entirely to the developer. For teams integrating with existing PBX infrastructure, the SIP trunk path preserves more control at the cost of higher operational complexity.