AlicomAgentCallReport - Call record message

Updated at:

You can subscribe to call record messages (AlicomAgentCallReport) from an intelligent communication agent using Lightweight Message Queue (formerly MNS). After a call ends, the message includes details such as the caller number, callee number, call start and end times, call duration, and real-time ASR duration.

Response parameters

Parameter

Type

Example

Description

taskId

String

1181**************

The task ID.

detailId

String

9662*************

The task detail ID.

batchId

String

B202******

The task batch ID.

callId

String

10000161****^1000018****

The call ID.

outId

String

123456

If you pass a custom outId in your request, the value is returned in this field.

startTime

String

2025-06-01 10:00:00

The time when the callee answered the call. This field is null if the call did not connect. Format: yyyy-MM-dd HH:mm:ss.

endTime

String

2025-06-01 10:05:30

The time when the call ended. This field is null if the call did not connect. Format: yyyy-MM-dd HH:mm:ss.

duration

Integer

330

The call duration in seconds. The value is 0 if the call did not connect.

statusCode

String

200010

The status code for the call result. For a list of codes, see Carrier error codes.

smartStatusCode

String

ANSWERED

The intelligent status code for the call result. For a list of codes, see Intelligent status codes.

statusMsg

String

Call ended normally

A description of the result.

caller

String

05710000*****

The service instance number.

realCaller

String

0571********

The actual caller number.

callee

String

139********

The callee number.

hangupDirection

String

User

The party that ended the call. Valid values:

  • User

  • Machine

originateTime

String

2025-06-01 09:59:45

The time when the voice service initiated the call to the carrier. Format: yyyy-MM-dd HH:mm:ss.

ringTime

String

2025-06-01 09:59:50

The time when the callee's device began to ring. This field is null if the device did not ring. Format: yyyy-MM-dd HH:mm:ss.

failedReason

String

Anti-harrassment

The reason why the outbound call failed.