types/CapabilityVoice.ts

vonage-node-sdk · packages/applications/lib/types/CapabilityVoice.ts · typescript · Apache-2.0
integration, Integration / API

TypeScript definitions for Vonage Voice application capabilities, including webhooks and payment settings.

// Source: https://github.com/Vonage/vonage-node-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import { CapabilityWebhook } from './CapabilityWebhook.js';
import { VoiceRegions } from '../enums/index.js';

/**
 * Vonage numbers that are linked to Vonage applications will use the answer_url
 * to retrieve an NCCO
 */
export type AnswerCallbackUrl = {
  /**
   * Socket timeout in milliseconds.
   */
  socketTimeout?: number;

  /**
   * Connection timeout in milliseconds.
   */
  connectTimeout?: number;
} & CapabilityWebhook;

/**
 * Vonage numbers that are linked to Vonage applications will use the answer_url
 * to retrieve an NCCO, and the event url to send call status info

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key