@vonage/voice
Version:
The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.
25 lines (22 loc) • 751 B
TypeScript
import { AdvancedMachineDetectionMode } from '../enums/AdvancedMachineDetectionMode.js';
import { MachineDetectionBehavior } from '../enums/MachineDetctionBehavior.js';
/**
* Represents advanced settings for machine detection during a call, including
* behavior, mode, and optional beep timeout.
*/
type AdvancedMachineDetection = {
/**
* The behavior to follow when machine detection occurs.
*/
behavior: MachineDetectionBehavior;
/**
* The mode of advanced machine detection.
*/
mode: AdvancedMachineDetectionMode;
/**
* (Optional) The timeout duration (in seconds) for detecting a beep during
* machine detection.
*/
beepTimeout?: number;
};
export type { AdvancedMachineDetection };