Skip to main content

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

Interface: MenuOption

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

A single DTMF option in a menu node.

Properties​

digit​

TypeScript
digit: string;

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

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


label?​

TypeScript
optional label?: string;

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

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


next_node?​

TypeScript
optional next_node?: string;

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

Node ID to route to when this digit is pressed