Skip to main content

@dialstack/sdk / index / IncomingCallEvent

Interface: IncomingCallEvent

Defined in: sdk/src/types/callbacks.ts:61

Event fired when a call starts ringing

Properties

from_name

from_name: string | null;

Defined in: sdk/src/types/callbacks.ts:65

Caller ID name (if available)


from_number

from_number: string;

Defined in: sdk/src/types/callbacks.ts:63

Caller phone number


timestamp

timestamp: Date;

Defined in: sdk/src/types/callbacks.ts:75

When the call started ringing


to_number

to_number: string;

Defined in: sdk/src/types/callbacks.ts:67

Called phone number (DID)


user_id?

optional user_id?: string;

Defined in: sdk/src/types/callbacks.ts:73

User the call is routed to. Set only when the DID targets a single user directly; omitted for ring groups, voice apps, dial plans, and other shared destinations where no single user is known at ring time.