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
next?: string;

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

Node ID to route to on timeout or busy. Not used when target is a dial plan.


target?​

TypeScript
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
timeout?: number;

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

Timeout in seconds before routing to next node. Not used when target is a dial plan: the nested plan takes over and its own nodes decide, so timeout_override and next are not used there either.


timeout_override?​

TypeScript
timeout_override?: boolean;

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

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.