Skip to main content

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

Interface: RingingCallEvent

Defined in: sdk/js/src/types/callbacks.ts:86

Event fired once for each user whose phones are about to ring for a call, including calls that reach the user through a ring group or dial plan

Properties​

call_id​

TypeScript
call_id: string;

Defined in: sdk/js/src/types/callbacks.ts:88

Call identifier


direction?​

TypeScript
direction?: "inbound" | "outbound" | "internal";

Defined in: sdk/js/src/types/callbacks.ts:92

The call's direction: inbound, outbound or internal (when known)


from_name​

TypeScript
from_name: string | null;

Defined in: sdk/js/src/types/callbacks.ts:96

Caller ID name (if available)


from_number​

TypeScript
from_number: string;

Defined in: sdk/js/src/types/callbacks.ts:94

Caller phone number


ringing_at​

TypeScript
ringing_at: Date;

Defined in: sdk/js/src/types/callbacks.ts:100

When the user started being rung


timestamp​

TypeScript
timestamp: Date;

Defined in: sdk/js/src/types/callbacks.ts:102

When the event was sent


to_number​

TypeScript
to_number: string;

Defined in: sdk/js/src/types/callbacks.ts:98

Called phone number


user​

TypeScript
user: string;

Defined in: sdk/js/src/types/callbacks.ts:90

User whose phones are ringing