CallRecording FileName in S3

0

Hi

When I add Set Call Recording Behavior the conversation is stored in S3 with
Contact-id_timestamp.wav format file.

I can get the contact-id when the call start by Amazon connect stream API(contact.getContactId())
is there a way we can get the timestamp so that I can save the exact file name in my internal DB so that I can retrieve the file with the exact name from s3.

Siddiq
已提问 5 年前415 查看次数
1 回答
0

Hi Siddiq,

The right way to do this would be to get this from the Contact Trace Record via the Kinesis stream/firehose. In this JSON object you a Recording Object:

"Recording": {
"DeletionReason": null,
"Location": "mybucket/connect/vf-connect-demo/CallRecordings/2019/02/13/e2e44c3e-9d27-41b7-b581-247f83789bb2_20190213T10:13_UTC.wav",
"Status": "AVAILABLE",
"Type": "AUDIO"
},

The time stamp is HH:MM, but this is when the system connected it to the agent.

More info on data: https://voicefoundry.com/amazon-connect-data-sources-part-1/

Thx
Dan

DanBloy
已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则