Skip to main content

@dialstack/sdk-dev / js/src / MenuOption

Interface: MenuOption

Defined in: sdk/js/src/types/dial-plan.ts:110

A single DTMF option in a menu node.

Properties​

digit​

TypeScript
digit: string;

Defined in: sdk/js/src/types/dial-plan.ts:112

DTMF digit: "0"-"9", "*", or "#"


label?​

TypeScript
label?: string;

Defined in: sdk/js/src/types/dial-plan.ts:116

Optional display label shown next to the digit on the node (max 20 chars)


next_node?​

TypeScript
next_node?: string;

Defined in: sdk/js/src/types/dial-plan.ts:114

Node ID to route to when this digit is pressed