Skip to main content

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

Interface: InternalDialNodeConfig

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

Configuration for an internal dial node that rings a user or group. Has optional timeout handling with next node routing.

Properties​

next?​

TypeScript
optional next?: string;

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

Node ID to route to on timeout or busy


target?​

TypeScript
optional target?: string;

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

User ID, group ID, or dial plan ID to dial


target_id​

TypeScript
target_id: string;

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

Deprecated​

Use target. Retained for backwards compatibility.


timeout?​

TypeScript
optional timeout?: number;

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

Timeout in seconds before routing to next node


timeout_override?​

TypeScript
optional timeout_override?: boolean;

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

Makes timeout govern a target that owns a timeout of its own — a user with a Find Me / Follow Me ladder, a ring group, a queue. Left off, that target's own timing wins and timeout is inert for it.

A separate flag rather than a nullable timeout because the editor pre-fills a timeout into every node it creates, so the number alone says only that the node exists, never that anyone chose it. The value wins in both directions, longer or shorter; it is not a cap.

timeout: 0 keeps its own meaning — skip the node without dialing — and is read first, so it is unaffected by this flag.