Call detail fields description

The following table describes the fields of call details.

Field

Description

callId

UUID of the call.

callingEntity.id

ID of calling entity.

callingEntity.type

Type of calling entity:

  • bot

  • phone-number (service-number)

  • sip-connection

callingEntity.displayName

Name of calling entity.

callingEntity.phoneNumber

Phone number of calling entity (can be after number manipulation, for example, to E.164).

Note: Applicable only to AudioCodes service-number.

calledEntity.id

ID of called entity.

calledEntity.type

Type of called entity:

  • bot

  • phone-number

  • sip-connection

calledEntity.displayName

Name of called entity.

calledEntity.phoneNumber

For AC service-number, should have the phone number (from SDR: dest.serviceNumber).

Otherwise, should be undefined.

calledEntity.serviceNumber

Service number.

Note: Applicable only to SIP Connections with a configured Service Number or customized Service Number (otherwise, undefined).

referredByEntity.type

Entity for calls triggered by a transfer:

  • bot

  • sip-connection

ingressCallingNumber

Number in the SIP From header in the INVITE message.

setupTime

Call setup time (SIP INVITE) in RFC 3339 UTC time format (with "Z" suffix).

connectTime

Call connect time (200 OK) in RFC 3339 UTC time format (with "Z" suffix).

endTime

Time call ended (SIP BYE or failure) in RFC 3339 UTC time format (with "Z" suffix).

successful

Indicates if call ended successfully:

  • true: Call ended successfully

  • false: Call ended due to a failure (or not connected at all due to a failure).

durationSeconds

Duration of call (in seconds).

terminationDescription

Reason for call termination.

recorded

Boolean

  • true: Call (or at least part of it) was recorded (and you can use the REST API to retrieve recordings - see Call recordings)

  • false: Call was not recorded.

trigger

Indicates (transfer) if call was transferred (otherwise, undefined).

botConversationId

Conversation ID if the call is with a bot (otherwise, undefined).

expireTime

Time of the expected deletion of the call detail.

Note: Applicable only if the call detail was marked for deletion (otherwise, undefined).

globalSessionId

Global Session ID (GID).

statistics

Provides delay‑related performance metrics for the bot interaction, including Speech‑to‑Text (STT), Text‑to‑Speech (TTS), and bot‑processing delays. The statistics include average, maximum, and median delay values (in milliseconds) to help monitor and evaluate system responsiveness.