Member Junction
    Preparing search index...

    One Vonage control event — a JSON text frame on the media leg (NOT audio; audio is raw binary). Vonage sends websocket:connected on open, websocket:dtmf for keypad input (with digit at the TOP level, not nested), and a close event when the leg ends.

    interface VonageControlEvent {
        digit?: string;
        duration?: number;
        event: string;
        [field: string]: unknown;
    }

    Indexable

    • [field: string]: unknown

      Any other event fields, typed without widening to any.

    Index

    Properties

    digit?: string

    The pressed DTMF digit (0-9, *, #) — present on websocket:dtmf events, at the top level.

    duration?: number

    The DTMF press duration in ms — present on websocket:dtmf events.

    event: string

    The event verb — e.g. 'websocket:connected', 'websocket:dtmf', 'close'.