Skip to main content

@enreachde/swyx-web-extension-sdk - v1.0.1 / Exports / LineDetails

Type alias: LineDetails

Ƭ LineDetails: Object

Snapshot of call and state information for a single line.

Type declaration​

NameTypeDescription
callIdnumberInternal call identifier.
callStartTimeDateTimestamp when the call started.
calledExtensionstringExtension or number being called.
calledNamestringDisplay name of the called destination.
canAcceptCallbooleanIndicates whether an incoming call can be accepted.
connectionStartTimeDateTimestamp when the media/connection was established.
disconnectReasonDisconnectReasonDisconnect reason when line/call is terminated.
encryptionModeEncryptionModeEncryption mode currently used by the call.
incomingExtensionstringIncoming extension/number for incoming call scenarios.
isDefaultLinebooleanIndicates whether this is the default line.
isExternalCallbooleanIndicates whether this is an external call.
isGroupCallbooleanIndicates whether this is a group call.
isHdAudiobooleanIndicates whether HD audio is active.
isIncomingCallbooleanIndicates whether this line currently has an incoming call.
isRecordingbooleanIndicates whether call recording is active.
labelstringLine label shown by the server/client configuration.
lastCalledExtensionstringLast called extension on this line.
lastCalledNamestringLast called name on this line.
lineIdnumberLine identifier.
lineStateLineStateCurrent line state from the line state machine.
outgoingExtensionstringOutgoing extension/number in outgoing scenarios.
peerNamestringPeer display name.
peerNumberstringPeer number or extension.
peerSiteIdnumberPeer site identifier.
peerUserIdnumberPeer user identifier.
redirectedFromNamestringName of the party that redirected the call.
redirectedFromNumberstringNumber of the party that redirected the call.
wasRedirectedbooleanIndicates whether the call was redirected.