@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
call_id: string;
Defined in: sdk/js/src/types/callbacks.ts:88
Call identifier
direction?
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
from_name: string | null;
Defined in: sdk/js/src/types/callbacks.ts:96
Caller ID name (if available)
from_number
from_number: string;
Defined in: sdk/js/src/types/callbacks.ts:94
Caller phone number
ringing_at
ringing_at: Date;
Defined in: sdk/js/src/types/callbacks.ts:100
When the user started being rung
timestamp
timestamp: Date;
Defined in: sdk/js/src/types/callbacks.ts:102
When the event was sent
to_number
to_number: string;
Defined in: sdk/js/src/types/callbacks.ts:98
Called phone number
user
user: string;
Defined in: sdk/js/src/types/callbacks.ts:90
User whose phones are ringing