Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Listening and timing

When the voice agent listens, how long it waits, when the caller can interrupt it, keypad input and language detection.

Each Answer node has its own timing in Configuration › Timing and Listening features. Set it per question: a yes/no question needs different timing than "Describe your problem".

One turn of a call

  1. The agent plays its message.

  2. When the message ends, the agent starts listening – and two timers start:

    • No input timeout (default 15 s) – if the caller does not start speaking or pressing keys in time, the flow gets the No input signal.

    • Max listening time (default 20 s) – if the caller is still speaking when it runs out, the flow gets the Shut up signal. It must be longer than the no input timeout.

  3. When the caller pauses for Transcription end after (default 1,800 ms), the transcription is finished and sent to the flow.

  4. The Answer node evaluates the text – or the signal – and continues.

Continuous transcription waits for longer pauses, so the caller can stop to think. Use it for open questions such as an address or a description of a problem.

Signals that do not come from a recognised answer – No input, Shut up and No match (the speech could not be transcribed, for example because of noise) – go to the node's Fallback.

Interruptions (barge-in)

By default the caller cannot interrupt the agent – listening starts when the message ends. Two settings change that:

Setting
Effect

Interrupt anytime

The caller's speech stops the agent at any moment.

Speech interrupt buffer (ms)

The caller can interrupt only during the last part of the message, this many milliseconds before its end. When it is set, Interrupt anytime has no effect.

When the caller interrupts, the agent stops speaking, drops what it was about to say and listens.

While the agent prepares its answer. By default, what the caller says while the agent is still preparing its answer can cut the answer off. Set the variable barge_in_type to change that:

Value
Caller speaks while the answer is prepared
Caller speaks while the agent talks

empty (default)

Not heard while the request runs; once the answer is ready, it interrupts and drops the answer.

The first recognised words interrupt.

queue_while_thinking

Kept and answered right after the reply.

Two or more words interrupt.

ignore_while_thinking

Ignored.

Two or more words interrupt, from the first audio of the reply.

Interrupt anytime still switches interruptions on or off. The older variable barge_in_only_while_bot_speaks works like queue_while_thinking and is replaced by it.

Use interruptions for long messages and menus that regular callers know by heart. Keep them off for important information the caller must hear in full – for example legal notices.

After an interruption, the transcription normally ends with the first recognised phrase. To keep listening for a longer answer, set the variable barge_in_partial_stt_result_silent_time (ms) – see Voice variables.

Keypad input (DTMF)

Turn on Processing of DTMF signals to let the caller answer with the phone keypad, for example to enter a customer number.

  • DTMF signals length – how many digits you expect. The agent continues as soon as that many keys are pressed. 0 means no fixed length.

  • DTMF timeout (s) – how long to wait for the next key press (default 3 s).

  • DTMF signal silences agent – a key press stops the agent's message.

The digits are stored in the variable dtmf_signals.

Language detection

Language detection in Listening features detects which language the caller speaks (with the Azure speech-to-text). The result is stored in detected_language (for example de), detected_language_code, detected_language_confidence and detected_language_utterance. To act on it, add a Condition intent such as detected_language == "de".

With ElevenLabs speech-to-text, set stt_language to auto and list the other expected languages in stt_secondary_languages – recognition then follows callers who switch languages. See Voice variables.

Question
Settings

Yes / no, a short choice

No input timeout 5–8 s, default transcription end.

A number, a date, a code

Keypad input on, with the expected length; or a longer transcription end (2,000–2,500 ms).

An open question

Continuous transcription on, max listening time 30 s or more.

A long menu or announcement

Speech interrupt buffer or Interrupt anytime.

Last updated

Was this helpful?