Skip to main content

@dialstack/sdk-dev / react/src/softphone / PeerInfo

Interface: PeerInfo

Defined in: sdk/react/src/react/softphone/hooks/usePeerResolver.ts:10

What the host knows about the remote party of a call — typically the record in its own system that the caller's number matches. Kept to what a call screen already shows: the softphone uses the name as the call's title and draws the avatar above it, and everything else on the screen stays as it is.

Properties​

avatar?​

TypeScript
optional avatar?: object;

Defined in: sdk/react/src/react/softphone/hooks/usePeerResolver.ts:14

Initials for the avatar disc, or an image URL drawn inside it.

initials?​

TypeScript
optional initials?: string;

uri?​

TypeScript
optional uri?: string;

name?​

TypeScript
optional name?: string;

Defined in: sdk/react/src/react/softphone/hooks/usePeerResolver.ts:12

Replaces the caller-id name or the bare number as the call's title.