aws-samples / amazon-transcribe-post-call-analytics

Apache License 2.0
73 stars 60 forks source link

Clarification on 3rd party telephony systems (Genesys) #186

Closed not-sure-about-this closed 1 month ago

not-sure-about-this commented 12 months ago

In the Integration with Telephony CTR Files section it states that it has support for Genesys, is this Genesys Cloud?

If yes I have the following questions

rstrahan commented 12 months ago

@drandrewkane - this one is for you :)

chrislott commented 10 months ago

Hi not-sure-about-this,

Yes, this is for Genesys Cloud. You will need to utilize their APIs, notably /api/v2/analytics/conversations/details/query/ for the metadata.json and /api/v2/conversations/{conversation_id}/recordingmetadata/ for the call_metadata.json file.

The first step is to get the conversationid for the calls you want to analyze, using /api/v2/analytics/conversations/details/query/. This api has a date interval and paging so you can retrieve the calls that you need. For each conversation in the output, save that as (file)_metadata.json -- for example 123456.wav_metadata.json.

For each of the conversations you retrieve from the query, you can then loop through them with the /api/v2/conversations/{conversation_id}/recordingmetadata/ to generate the _call_metadata.json. Write this to (file)_call_metadata.json, for example, 123456.wav_call_metadata.json.

We'll work on adding more documentation on this in an upcoming release.

Chris

realtek8723 commented 8 months ago

Hi Chris,

  I also got same questions. I have tried the API  

/api/v2/conversations/{conversation_id}/recordingmetadata/ to get (file)_call_metadata.json, And uploaded same to s3 bucket along with wav, wav_metadata.json files but itseems this recording not even showing in pca dashboard call list, It got failed in the middle of the process.

  In addition to this, how do we differentiate IVR, agent and customer voices for analysys.

And i checked the JSON which we got from the above API i couldn't find any relevent information which differentiate between Agent, IVR voices.

Thanks in advance

chrislott commented 8 months ago

Hi realtek8723,

What step function did it fail at, and do you have the Lambda logs?

Chris

rstrahan commented 1 month ago

Closed due to lack of follow-up. Please reopen if issue remains.