Fizzi Media
Back to all articles
AI Marketing Tools

Why OpenAI Realtime API Voice Activity Detection Interrupts B2B Callers

Published November 25, 2026 · Last reviewed November 25, 2026

Abstract visualization of audio waveform signals being prematurely cut off by a solid red boundary line.

Building an inbound voice SDR requires managing natural conversation flow across unpredictable phone lines. When internal testing goes well, the bot answers quickly and sounds perfectly human. Then actual prospects dial in from noisy offices or cars. They pause to think about their marketing spend, verify their current software stack, or calculate their annual revenue. The AI interprets this hesitation as the final word of a turn and starts talking, cutting off the prospect mid-sentence.

This behavior stems from default server-side voice activity detection settings within the underlying audio model connection. If you run paid traffic to a phone number handled by an automated agent, those interruptions destroy trust immediately. A caller who gets spoken over twice will simply hang up. You lose the lead, the attribution data, and the ad spend that generated the call. Fixing this requires stepping away from the standard quickstart templates and manually defining the exact milliseconds the server must wait before closing an audio buffer.

The short answer

The OpenAI Realtime API uses a default silence duration of 500 milliseconds to detect when a caller finishes speaking. In B2B qualification calls, prospects pause longer than half a second to recall metrics or formulate answers. This causes the server-side voice activity detection to prematurely close the audio buffer and trigger an AI response, interrupting the caller. You must update the session turn detection parameters to increase the silence duration to at least 1500 milliseconds.

Why default voice activity detection fails in B2B contexts

When a developer implements the OpenAI Realtime API, the server relies on voice activity detection to manage conversational turns. The default configuration assumes a fast-paced, consumer-style exchange. It listens for a drop in audio volume, waits 500 milliseconds, and commits the audio buffer for inference.

Human operators naturally understand when a caller is thinking rather than yielding the floor. If a prospect is asked about their annual revenue, they might say a few words, pause for a full second to calculate the number, and then continue speaking. The default system registers that one-second pause as absolute silence. It automatically fires an input_audio_buffer.committed event and begins generating the assistant response. The caller finishes their sentence right as the assistant starts speaking.

This collision forces the caller to stop or repeat themselves. Managing these WebSocket events requires stable infrastructure, often built on edge networks like Vercel Functions. Standard integrations rely on these edge functions to pipe audio data back and forth. If the voice activity detection is too aggressive, the edge function rapidly fires off incomplete audio segments. The LLM then hallucinates an answer based on half a sentence. In a qualification context, an LLM evaluating partial context might incorrectly score the lead or route them to the wrong sales tier.

How to configure turn_detection to fix interruptions

Fixing the interruption problem requires sending a specific configuration payload when the WebSocket connects to the API. You manage this through a session update event. The turn_detection object accepts precise parameters for the detection type, silence duration, and volume threshold.

Set the type parameter to server_vad. Increase the silence_duration_ms parameter to 1500. This gives the caller one and a half seconds of silence before the server assumes they are completely finished speaking. You also need to evaluate the threshold value, which ranges from 0.0 to 1.0. A threshold of 0.5 works well for standard voice calls to filter out background office noise without ignoring quiet speakers.

Send this JSON payload exactly once upon the initial connection:

{
  "event_id": "evt_123",
  "type": "session.update",
  "session": {
    "turn_detection": {
      "type": "server_vad",
      "threshold": 0.5,
      "prefix_padding_ms": 300,
      "silence_duration_ms": 1500
    }
  }
}

The prefix_padding_ms parameter retains the specified amount of audio before the detected speech begins, which prevents the system from clipping the very first consonant of the caller responding. You can read the full parameter list and validation rules in the OpenAI API Reference.

Implementing this change transforms the call dynamic. Instead of a rapid-fire interrogation, the agent waits patiently. The caller can pause, look up a metric, and complete their sentence. If your system handles high concurrency and relies on dynamic routing based on these turns, you might route these WebSocket connections through Supabase Edge Functions to keep database lookups and latency low.

Adjusting parameters dynamically based on conversational context

Advanced implementations do not keep the same silence duration for the entire call. The optimal waiting period changes based on the question asked. When the AI agent answers the phone and says hello, you want a fast response if the user says hello back. A 1500-millisecond delay on a simple greeting feels unnatural and slow.

You can solve this by sending a new session update payload immediately after the AI asks a complex qualification question. When the agent asks a simple yes or no question, update the session to a 600-millisecond silence duration. When the agent asks the prospect to describe their current marketing stack, update the session to a 2000-millisecond duration.

This dynamic approach mimics human conversational rhythm perfectly. The agent is snappy during the introduction and patient during the discovery phase. This requires your application state to track which step of the funnel the caller is currently in and trigger the corresponding WebSocket message.

What this means if you're running spend

When marketing budgets drive inbound calls to a dedicated phone number, every dropped call costs real money. Callers hang up when automated systems interrupt them repeatedly. The operational consequence is a steep drop in booked meetings from your voice funnel.

Lower qualification rates force sales teams to rely on asynchronous follow-up via email or SMS. This defeats the primary purpose of deploying a voice agent in the first place. You pay for the initial ad click, the phone system routing fees, and the LLM tokens, but you lose the inbound momentum entirely.

If you tie these voice interactions to backend CRM automations, premature conversational turns also trigger premature tool calls. When the agent thinks the user finished speaking, it might fire off a webhook to update a contact record. We cover the risk of duplicate CRM actions in our breakdown of streaming tool calls. Proper voice activity detection ensures the prospect finishes their entire thought before the system parses the intent and logs the data.

A properly tuned voice funnel acts as a flawless filter. It allows the sales team to focus only on highly qualified prospects who successfully navigated the automated discovery phase. If the voice activity detection fails, the sales floor spends their day apologizing to confused prospects who hung up in frustration.

Managing client-side VAD alternatives

Some operators choose to disable server-side voice activity detection entirely. You can do this by setting turn_detection to null in the session configuration. This forces your application to manage audio buffers on the client side using custom implementations.

While this provides absolute control over when the microphone opens and closes, it introduces significant technical complexity. You must build your own silence detection logic and manually send input_audio_buffer.commit events through the OpenAI Node SDK. For a company doing five to thirty million a year, maintaining a custom audio processing pipeline diverts engineering time away from core revenue-generating product work. Stick to the server-side configuration and tune the milliseconds until the conversation sounds natural.

FAQ

Can you change the silence duration during an active call?

Yes, you can send a new session update event at any time over the active WebSocket connection. The new parameters take effect immediately for the next conversational turn, allowing you to adapt to the complexity of the current question.

Why does the AI agent pick up background noise as speech?

The default volume threshold might be too low for your specific caller environment. Increase the threshold parameter closer to 0.6 or 0.7 to force the system to ignore ambient office sounds and heavy breathing.

Does increasing the silence duration increase overall latency?

It increases the perceived wait time before the agent responds because the system waits an extra full second to ensure the user is done speaking. It does not negatively affect the actual token generation speed once the buffer commits.

How much of this applies to your operation?

The effect of voice agent interruptions depends on how heavily you rely on inbound phone traffic. If your primary lead capture remains a web form, tuning WebSockets is a low priority. If you run dedicated paid campaigns to a dial-in qualification sequence, half a second of premature silence detection will actively burn your ad spend. We rebuild operational infrastructure to ensure marketing dollars convert without technical friction. You can see how we evaluate full-funnel systems and apply for a conversation at /apply.

Last reviewed November 25, 2026. Sources linked inline.

Speak directly with Jason, our Managing Director. No sales reps.

More from the blog