Skip to main content

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

Interface: ExternalDialNodeConfig

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

Configuration for an external dial node that dials an external PSTN number. Has optional timeout handling with next node routing.

Properties​

caller_id?​

TypeScript
caller_id?: CallerIdChoice;

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

Caller ID the forwarded call presents. Defaults to original.


caller_id_did?​

TypeScript
caller_id_did?: string;

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

ID of the account phone number to present. Required when caller_id is did, rejected otherwise.


next?​

TypeScript
next?: string;

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

Node ID to route to on timeout or busy


phone_number​

TypeScript
phone_number: string;

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

E.164 formatted phone number to dial (e.g., +14155551234)


timeout​

TypeScript
timeout: number;

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

Timeout in seconds before routing to next node (1-120)