VoiceReportAiccs

更新时间:
复制 MD 格式

You can subscribe to call record messages (VoiceReportAiccs) using the MNS queue pattern. After a call ends, you can retrieve the call record information, such as the call type, start and end times, duration, and termination reason.

Return parameters

NameTypeExampleDescription
call_idString100001616500^10000187****The call ID.
originate_timeString2020-05-01 10:00:00The time when Alibaba Cloud Communications initiated the call to the carrier.
ring_timeString2020-05-01 10:00:03The time when the callee's phone starts ringing after an outbound call is initiated.
Note If the callee's phone does not ring, this field is empty.
start_timeString2017-06-01 10:00:00The time when the callee answered the call.
Note This field is empty if the call was not connected.
end_timeString2017-06-01 10:00:00The time when the call ended.
callerString0571****1111The caller number.
calleeString137****1111The callee number.
durationString10The call duration. The value is 0 if the call was not connected.
status_codeString200010The status code of the call result. For more information, see Call status codes.
early_media_codeString200002The status code for the early media result. This parameter is returned only if the early media feature is enabled. For more information, see Call status codes.
hangup_directionStringUserThe party that disconnected the call. Valid values:
  • User
  • Machine
status_msgStringExecution completeThe result description.
out_idString123456The extended field that is passed back. This parameter returns the value that you specified for this field in the API call. For APIs related to the Intelligent Outbound Call SaaS Assistant, the `out_id` value is in the format `ALICOM_SMART_SAAS^111111^2222222`. In this format, `111111` is the batch task ID.
dtmfString123456The DTMF keypress.
voice_typeStringvoiceThe type of call record. Valid values:
  • Voice: Mandarin (single)
  • asr: An ASR call record.
  • smart_transfer: A call record for an intelligent outbound call transfer.
dialog_idString100001097****The script ID. This parameter is specific to the Intelligent Outbound Call SaaS Assistant.
toll_typeStringLOCAL The call type. Valid values:
  • LOCAL: Local call.
  • PROVINCE: Intra-province long-distance call.
  • DOMESTIC: Domestic long-distance call.
  • INTERNATIONAL: International long-distance call.