VoiceAgentDtmfFixedLengthCompletionMode interface

Complete immediately after exactly length digits. Other modes' fields are not accepted.

Properties

inter_digit_timeout_seconds

Seconds between digits, reset after each digit; defaults to 5.

length

The number of digits to collect; defaults to six. There is no terminator or separate minimum/maximum pair.

type

Select fixed-length completion.

Property Details

inter_digit_timeout_seconds

Seconds between digits, reset after each digit; defaults to 5.

inter_digit_timeout_seconds?: number

Property Value

number

length

The number of digits to collect; defaults to six. There is no terminator or separate minimum/maximum pair.

length?: number

Property Value

number

type

Select fixed-length completion.

type: "fixed_length"

Property Value

"fixed_length"