2 Answers
- Newest
- Most votes
- Most comments
2
To reliably obtain the filename of a call recording for a given call in Amazon Connect, using Amazon Kinesis Data Streams is indeed a good approach. Specifically, you can use the Amazon Connect Contact Trace Records (CTR) streamed to Kinesis to get detailed information about each contact, including the recording filename.
Here are the steps to programmatically obtain the filename of the recording:
- Set Up Kinesis Data Stream: Ensure your Amazon Connect instance is configured to stream Contact Trace Records (CTR) to an Amazon Kinesis Data Stream. This can be done in the Amazon Connect console under the data streaming section.
- Consume the Data from Kinesis: Use the AWS SDK (for example, Boto3 for Python) to consume the data from the Kinesis stream. Each record in the stream is a JSON object that includes detailed information about the contact.
- Extract the Recording URL: The CTR contains the 'Recording' object, which has the 'Location' attribute providing the S3 URL of the recording file.
answered a month ago
0
Hello, The record location data is within the Contact Events, you can have a look at this: https://docs.aws.amazon.com/connect/latest/adminguide/contact-events.html
Thanks.
answered a month ago
Relevant content
- asked 2 years ago
- asked 5 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Thanks for the reply, I've reviewed this link in detail and I don't see any property that references the location of the recording. Can you please point out which property specifically holds this value?
@evad Hello, you're welcome. You can have a look on Contact record data model, there is a field named Location: https://docs.aws.amazon.com/connect/latest/adminguide/ctr-data-model.html#ctr-RecordingInfo
Thank you, found it.