Skip to main content

@dialstack/sdk-dev / server/src / RemoteNumber

Interface: RemoteNumber

Defined in: sdk/server/src/index.ts:1274

An external phone number the account has had calls with, and what has happened with it. The unconnected counts cover every call since a party last connected, however long ago. A call answered by the other side's voicemail (a call-back, or a forward to a cell phone without press-1-to-accept) counts as connected.

Properties​

last_call​

TypeScript
last_call: string | CallLog;

Defined in: sdk/server/src/index.ts:1281

The latest call with the number; the CallLog with expand: ['last_call'].


last_call_at​

TypeScript
last_call_at: string;

Defined in: sdk/server/src/index.ts:1282


last_connected_at​

TypeScript
last_connected_at: string | null;

Defined in: sdk/server/src/index.ts:1283


name​

TypeScript
name: string | null;

Defined in: sdk/server/src/index.ts:1279

Caller ID name from the number's latest inbound call.


object​

TypeScript
object: "remote_number";

Defined in: sdk/server/src/index.ts:1275


phone_number​

TypeScript
phone_number: string;

Defined in: sdk/server/src/index.ts:1277

E.164; identifies the resource.


unconnected_inbound​

TypeScript
unconnected_inbound: object;

Defined in: sdk/server/src/index.ts:1285

The number's calls to the account since a party last connected, none connected.

count​

TypeScript
count: number;

first_at​

TypeScript
first_at: string | null;

last_at​

TypeScript
last_at: string | null;

voicemail_count​

TypeScript
voicemail_count: number;

unconnected_outbound​

TypeScript
unconnected_outbound: object;

Defined in: sdk/server/src/index.ts:1292

The account's calls to the number since a party last connected, none connected.

count​

TypeScript
count: number;

last_at​

TypeScript
last_at: string | null;