VoipCallRecord

Call recording

Stores data about a call recording. The system uses this data to display the widget that allows to play call recordings in the activity stream of the associated app item.

Hierarchy

  • VoipCallRecord

Properties

call

call: any

Any data related to the call (for example, a call ID or a link to the call recording).

The data from this field is passed as an argument to the VoipGetCallLink method, which is used to obtain a link to the call recording.

Optional callId

callId: undefined | string

External system call identifier.

Used by the system to match multiple telephony events to a single call. If the call identifier is not specified, the system will match calls using a combination of the fields VoipCallRecord.srcPhone, VoipCallRecord.srcPhoneExt, VoipCallRecord.dstPhone, VoipCallRecord.dstPhoneExt, and VoipCallRecord.direction.

direction

Call direction.

disposition

disposition: VoipCallDisposition

Call outcome.

dstPhone

dstPhone: string

Number being called

Filled depending on the call direction:

  • incoming or internal call— internal number of the operator receiving the call.
  • outgoing call— external number of the client being called by the operator.

Optional dstPhoneExt

dstPhoneExt: undefined | string

Employee extension number when initiating an outgoing call to an external number VoipCallRecord.dstPhone.

Used by the system for outgoing calls only. For other directions, it is recommended to leave the field blank.

duration

duration: number

Call duration in seconds.

srcPhone

srcPhone: string

Number that is calling

Filled in depending on the call direction:

  • incoming call—the external number of the client calling the operator.
  • outgoing or internal call—the internal number of the operator who initiated the call.

Optional srcPhoneExt

srcPhoneExt: undefined | string

Employee extension number when receiving an incoming call from an external number VoipCallRecord.srcPhone.

As a rule, when receiving an incoming call from the public switched telephone network, information about the employee's extension number within the organization is not available. It is recommended to fill in this field only if the upstream PBX provides this information. The system uses this field only for incoming calls. For other directions, it is recommended to leave the field blank.