APIFleet Sign in

AI voice agent silence timeout: when to ask if the caller is still there

An AI voice agent silence timeout is the quiet period after which the agent asks whether the caller is still there. On APIFleet Telnyx and Twilio calls on OpenAI Realtime or GPT-Live, the clock starts once agent audio has played out, and by default the agent asks after 8000 ms, up to 2 times. Silence hang-up is opt-in.

APIFleet team · · 10 min read

Why does a voice agent need a silence timeout?

A speech-to-speech model answers caller speech, and silence produces no event for it to answer. A prompt line such as "ask if they are still there" therefore cannot start the question by itself. Something outside the model has to watch the clock and request a response.

APIFleet saw the failure on a GPT-Live phone call on 10 November 2026. The caller said "Allo" while the opening played, then neither side spoke for 38 seconds until the caller hung up. That was one call, not a rate, and nothing in it asked whether anyone was there.

The fix is a small controller per carrier call. After a period of real silence it asks the model to check whether the caller is still there, up to a maximum count, and only if an operator has opted in does it ask for a goodbye and end the call. The model phrases every word, in the language of the conversation, and the controller decides only when.

In the gpt-live-1 and speech-to-speech guides, a silent call is the opposite case: a call connected for 10 seconds or more in which the assistant's audio never started. This guide covers the reverse, where the assistant has spoken and the caller says nothing.

What counts as silence on a phone call?

The controller counts silence only while nothing else is happening, because a quiet line is often a working line. Each of the first five states in the table below suspends the clock, and the clock restarts from zero once the state clears. The first check then comes about one idle period later.

GPT-Live has no voice-activity event, so APIFleet infers caller speech from audio. Frames louder than an RMS of 65, about -54 dBFS, hold the clock for 2.5 s after the last one, but they never reset the check count, because loudness is no evidence of words. A transcript fragment does reset it.

The hold exists because GPT-Live's input transcript arrives late. On simulated calls on 8 November 2026 its fragments arrived 1 to 3.2 s after the caller started speaking, with a median of 1.5 s, which is a simulation measurement, not live traffic.

Loudness alone has a cost: background noise above about -54 dBFS, such as a busy street or a television, holds the GPT-Live clock the same way, so that line gets no checks. On OpenAI Realtime the caller-speaking state comes from server voice activity detection instead.

States that suspend the silence clock on a carrier call
State of the callClockWhy
The opening, native or cached, has not finished playingSuspendedThe caller has not yet heard the assistant
Assistant audio is still queued for the carrierSuspendedA finished response is not enough: the audio must have played out to the carrier
A tool call, backend work, transfer or hang-up is pendingSuspendedThe assistant is working, so the line is quiet but not idle
A booking read-back is waiting for the caller's answerSuspendedA check in between would make a plain yes ambiguous
The caller is speakingSuspendedOpenAI Realtime knows from server VAD; GPT-Live infers it from audible frames and transcripts
None of the above and nobody speaksRunningAfter one idle period the first check is requested

What does the timeline look like with the defaults?

The table traces one silent call with the defaults, assuming each check takes 2 s to say. A check request restarts the clock, and the end of its audio restarts it again. So check 2 comes one full idle period after check 1 finished playing, not at a flat 16 s.

Silence timeline with the defaults (8000 ms, 2 checks, hang-up off), assuming each check takes 2 s to say
TimeWhat happensSilence clock
0 sThe assistant's last audio has played out and nobody speaksStarts
about 8 sCheck 1 is requested and the model asks if the caller is still thereRestarts at the request
about 10 sCheck 1 has finished playingRestarts again
about 18 sCheck 2 is requested, in different wordsRestarts at the request
about 20 sCheck 2 has finished playing, and 2 checks is the default maximumRestarts again
after 20 sNothing more happens, because hang-up is off by default and the line stays openNo further step
about 30 sOpt-in only, for a caller with fewer than 4 words: with hang-up set to 10000, for example, a goodbye is requested and the call ends once it has playedOpt-in hang-up

Which three server settings control the timeout?

The operator who runs the APIFleet server sets them with environment variables. There is no per-assistant, dashboard or API field for them, so a customer of a hosted service has no setting to change. This guide describes the shipped defaults, not what any particular deployment uses.

All durations are milliseconds: 0 or below, or an off word such as false, turns a setting off, and any other value must be at least 5000, for example 8000. A value from 1 to 4999, or text such as true or 8000ms, is ignored with a startup warning and the default applies. So APIFLEET_IDLE_REPROMPT_MS=8 gives the default 8000, not 8 s, and APIFLEET_IDLE_HANGUP_MS=10 leaves hang-up off.

That floor exists because shorter silences are ordinary pauses, such as a caller thinking or finding a date. A lower value would ask callers whether they are still there within seconds of every pause.

The three idle settings, their shipped defaults and what turns them off
VariableIf unsetOff valueWhat it does
APIFLEET_IDLE_REPROMPT_MS8000 (the default)0, false, off, no or disabledSilence before each check; turning it off disables the whole feature, hang-up included
APIFLEET_IDLE_MAX_REPROMPTS2 (the default)0 asks no check; a negative value counts as 0How many checks are asked before the goodbye step
APIFLEET_IDLE_HANGUP_MS0 (hang-up off)0, false, off, no or disabledOpt-in: silence after the last check before a goodbye and hang-up, for example 10000

Why is hanging up for silence opt-in?

Hanging up for silence is opt-in and off by default, because APIFleet's own reviews kept finding cases where it ends a call on someone who is still there. With APIFLEET_IDLE_HANGUP_MS at 0, the line stays open after the last check until the caller speaks, either side hangs up, the assistant ends the call, or the call reaches its maximum duration. The checks are the part callers were missing.

When an operator opts in, for example with APIFLEET_IDLE_HANGUP_MS=10000, the model is asked for one short goodbye after that much silence following the last check's playback. The call then ends through the end_call built-in once the goodbye has played, or 8 s after the request if the model says nothing. An assistant with end_call_enabled set to false cannot be ended this way, and its checks still run.

A caller who has said at least 4 words in the call, counting runs of letters or digits and ignoring keypad presses, still gets the checks. With the opt-in hang-up, that engaged caller is not hung up on for silence after the last check, because a quiet engaged caller is usually busy: "hold on, let me ask my wife". One exception applies when the assistant has already said its own goodbye.

When the assistant's own goodbye closes the conversation, no check is asked, because "are you still there?" would reopen a finished call. That means the caller had spoken before the goodbye and every later caller turn was a short closing reply of 6 words or fewer without a question. If the English goodbye detector recognises the goodbye, the opt-in hang-up ends the call after one idle period of silence, whatever the word count, and with hang-up off the goodbye only withholds the checks.

APIFleet's notes say coverage is offline tests only, and no live call has yet verified how quickly GPT-Live speaks after an instruction append. Try the opt-in hang-up on your own live calls before you rely on it.

Open cases from APIFleet's own notes: each can end an opt-in hang-up call on someone who is still there
CaseWhat can happen
A short request after the assistant's goodbyeA reply such as "Hold on, let me check something" has 6 words and no question, so it counts as a closing reply and the call can end after the silence without a check
A caller resumed after a failed transferEngagement is counted per runtime session, so the caller starts as not engaged
A GPT-Live check withdrawn for caller audio aloneA cough or a rustle withdraws the check but it still counts, so a caller who is not engaged can reach the goodbye without having heard a check
APIFLEET_IDLE_MAX_REPROMPTS set to 0 with hang-up opted inThe checks are skipped and the goodbye follows the hang-up delay

How does the agent ask if the caller is still there?

No text is hard-coded. The model words the check as one short sentence in the conversation's language, falling back to the assistant's language, and uses different words on the second check. If the caller asked the agent to wait, it asks whether they need more time instead.

On OpenAI Realtime the check is a one-off response.create with tool_choice set to none, so the model cannot call a tool, and its instructions apply to that response only. GPT-Live has no one-off response command, so APIFleet appends a short voice instruction and sends one nudge 1.5 s after the server acknowledges it if no audio has started. On GPT-Live, if the caller starts speaking before the check is spoken, the check is withdrawn and the model is told to answer the caller instead.

Which calls get silence checks, and which do not?

Only carrier calls on Telnyx or Twilio qualify, inbound and outbound, and only on OpenAI Realtime or GPT-Live. Carrier bridges are the only place with server-side evidence of when the assistant's audio has played out, and a carrier leg to end. Every other path keeps its earlier behavior, which is no check at all.

Idle silence is not end-of-turn silence. End-of-turn silence decides how long a pause ends the caller's turn: it is the assistant's turn_eagerness field, which on Gemini Live maps to a silence window of 300, 500 or 800 ms, and OpenAI's server VAD has its own silence_duration_ms. Neither starts a check.

Where the silence checks run
Call typeChecksWhy
Telnyx or Twilio call on OpenAI RealtimeYesThe carrier bridge reports when audio has played out
Telnyx or Twilio call on GPT-LiveYesSame bridge, plus loudness and transcript evidence from the caller
Gemini LiveNoIt inherits the OpenAI session code but does not opt in, because it speaks a different protocol
Cascading pipeline (speech-to-text, chat model, text-to-speech)NoThat session has no idle code
VoximplantNoIt uses a separate media session that passes no idle settings
Browser tests and simulationsNoThe browser buffers playback itself, so the server cannot tell when a turn finished playing

A safe rollout for an operator, step by step

Change one thing at a time and read the startup log, because a rejected value is reported there. These steps assume you run the APIFleet server yourself.

  1. Start with nothing set. By default the first check comes after 8000 ms, up to 2 checks are asked, and hang-up is off.
  2. Place a test call on a Telnyx or Twilio number with an OpenAI Realtime or GPT-Live assistant, say one word, and stay silent. The first check should come about 8 s after the assistant's audio finishes playing, in the language of the call.
  3. Change one value, in milliseconds, and start the server again. A startup warning such as "APIFLEET_IDLE_REPROMPT_MS=8 was ignored: it is in milliseconds and must be 0 or at least 5000" means the default is still in use.
  4. Keep hang-up off until you have tried it on live calls, because the open cases above can end a call on someone who is still there.
  5. To try the opt-in hang-up, set APIFLEET_IDLE_HANGUP_MS, for example 10000, and keep end_call_enabled true, which is the default, on the assistants you test.
  6. After an opt-in silence hang-up, read the stored call record: the ended reason is silence, and the tool events hold an inferred end_call with reason caller_silent.
Workflow diagram of one conversation: caller audio, speech model, tools and context, and the spoken reply

Continue with a practical next step

Frequently asked questions

How long should an AI voice agent wait before asking if the caller is still there?

APIFleet waits 8000 ms by default, counted only after the assistant's audio has played out and nothing else is pending. Values from 1 to 4999 are ignored, because shorter silences are ordinary pauses. The operator who runs the server sets the value with an environment variable.

Does APIFleet hang up on a silent caller?

Not by default. After the last check, two by default, the line stays open. An operator can opt in with APIFLEET_IDLE_HANGUP_MS, for example 10000, which adds a goodbye and hang-up through end_call, but it has been tested offline only and has known open cases.

Why was APIFLEET_IDLE_REPROMPT_MS=8 ignored?

The variable takes milliseconds, and a value from 1 to 4999 is ignored with a startup warning, after which the default 8000 applies. APIFLEET_IDLE_HANGUP_MS=10 is ignored the same way and leaves hang-up off.

Does the silence timeout work on Gemini Live, cascading or Voximplant calls?

No. Silence checks run only on Telnyx and Twilio calls on OpenAI Realtime and GPT-Live. Gemini Live, cascading pipelines, Voximplant, browser tests and simulations do not ask whether the caller is still there.

Can a prompt make a voice agent ask if the caller is still there?

Not on its own. A speech-to-speech model answers caller speech, and silence produces no event to answer, so an application timer has to request the check. APIFleet asks the model to phrase it, so the words follow the language of the call.

Sources and evidence

Prepared with AI assistance and checked against the linked evidence. Examples are illustrative unless explicitly documented as measured results.

Bring your next conversation.

Explore the API, or sign in to your existing workspace. New workspace access is currently limited; contact us to discuss your project.