gsojitra | 2023-03-24 07:30:19 UTC | #1
Hi Guys,
I am using POST /api/v2/analytics/conversations/details/query API to get a list of completed external outbound voice calls for a time interval and I am making a call directly via dialer and ACW is optional so as per the documentation, wrapup is not required.
I have one response to the conversation id 61ebfe65-8b86-49dd-bc32-ae5e785884b5 taken around 2023-03-15 13:19:39 UTC. response of the same is attached with this post for which I was not getting conversationEnd in the response earlier and later on 20th March I could see the conversationEnd for the call in the response.
This happened with several calls on 15th and 16th March, and I haven't got any lunch to reproduce the same. can you help me here to figure out the issue in this case?
Thanks
[details="The complete request with the filters that I am using:"]
curl -X POST -H "Content-Type: application/json" -H "Authorization: bearer 3oxMx6MTvbJP6DLm2C_-Ooow644aVhRVlBQKQC05wfwvtsCEdFVTCWyGLaDH9Zt6MH9hXijC0z6gTtvNs9I12g" -d '{ "conversationFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "originatingDirection", "operator": "matches", "value": "outbound" }, { "type": "dimension", "dimension": "conversationEnd", "operator": "exists" } ] } ], "segmentFilters": [ { "type": "and", "predicates": [ { "type": "dimension", "dimension": "recording", "operator": "matches", "value": "true" }, { "type": "dimension", "dimension": "mediaType", "operator": "matches", "value": "voice" }, { "type": "dimension", "dimension": "externalContactId", "operator": "exists" } ] } ], "interval": "2023-03-16T11:32:52+0000/2023-03-16T11:34:52+0000", "pageSize": 100, "pageNumber": 1 } ' "https://api.usw2.pure.cloud/api/v2/analytics/conversations/details/query"
[/details]
[details="Response of conversation"]
{ "conversations": [ { "conversationId": "61ebfe65-8b86-49dd-bc32-ae5e785884b5", "conversationStart": "2023-03-15T13:16:33.261Z", "divisionIds": [ "d493a5c7-f3da-4cb7-8a18-ef0910ea06dc" ], "mediaStatsMinConversationMos": 4.394225624992217, "mediaStatsMinConversationRFactor": 82.45947265625, "originatingDirection": "outbound", "participants": [ { "participantId": "880fb72b-e8ca-4a81-92a5-eecfd8053029", "purpose": "agent", "userId": "3f66d1d6-1132-4b29-813d-c50c553ccbc1", "sessions": [ { "ani": "sip:63e611c208ea4a1bb84ae7ea+mindtickle.orgspan.com@localhost", "direction": "outbound", "dnis": "tel:+18449372410", "edgeId": "00b1d136-35db-4e48-a65d-52922ddd7fc4", "mediaType": "voice", "peerId": "be02e980-ad3b-4281-824d-a24c787839b1", "protocolCallId": "73a0bef0-89e0-4114-98c2-6aae02b1a190", "provider": "Edge", "remote": "Toll Free", "sessionDnis": "tel:+18449372410", "sessionId": "02e7b0cc-a06c-4a19-8e37-8ac210432571", "mediaEndpointStats": [ { "codecs": [ "audio/opus" ], "discardedPackets": 106, "eventTime": "2023-03-15T13:17:35.693Z", "maxLatencyMs": 210, "minMos": 4.570529530744109, "minRFactor": 82.45947265625, "receivedPackets": 3002 }, { "codecs": [ "audio/opus" ], "eventTime": "2023-03-15T13:17:35.695Z", "maxLatencyMs": 30, "minMos": 4.882320762736185, "minRFactor": 92.43974304199219, "receivedPackets": 2913 } ], "metrics": [ { "emitDate": "2023-03-15T13:16:33.261Z", "name": "nOutbound", "value": 1 }, { "emitDate": "2023-03-15T13:16:34.948Z", "name": "tContacting", "value": 1687 }, { "emitDate": "2023-03-15T13:16:37.385Z", "name": "tDialing", "value": 2437 }, { "emitDate": "2023-03-15T13:17:35.658Z", "name": "tTalk", "value": 58273 } ], "segments": [ { "conference": false, "queueId": "dab1f93a-34c8-4bce-a4cf-0d058bfcba0a", "segmentEnd": "2023-03-15T13:16:34.948Z", "segmentStart": "2023-03-15T13:16:33.261Z", "segmentType": "contacting" }, { "conference": false, "queueId": "dab1f93a-34c8-4bce-a4cf-0d058bfcba0a", "segmentEnd": "2023-03-15T13:16:37.385Z", "segmentStart": "2023-03-15T13:16:34.948Z", "segmentType": "dialing" }, { "conference": false, "disconnectType": "client", "queueId": "dab1f93a-34c8-4bce-a4cf-0d058bfcba0a", "segmentEnd": "2023-03-15T13:17:35.658Z", "segmentStart": "2023-03-15T13:16:37.385Z", "segmentType": "interact" } ] } ] }, { "externalContactId": "716acaa2-6135-4cbb-84dd-89c357feb5f5", "participantId": "8b2bd0d6-3353-479a-85e3-b1f22f1bfe06", "participantName": "Toll Free", "purpose": "customer", "sessions": [ { "ani": "sip:63e611c208ea4a1bb84ae7ea+mindtickle.orgspan.com@localhost", "direction": "outbound", "dnis": "tel:+18449372410", "edgeId": "00b1d136-35db-4e48-a65d-52922ddd7fc4", "mediaType": "voice", "protocolCallId": "8cdd2ec8-710d-4d5a-98eb-b0cf188a0c03", "provider": "Edge", "recording": true, "remoteNameDisplayable": "Toll Free", "sessionDnis": "tel:+18449372410", "sessionId": "be02e980-ad3b-4281-824d-a24c787839b1", "mediaEndpointStats": [ { "codecs": [ "audio/opus" ], "discardedPackets": 98, "eventTime": "2023-03-15T13:17:35.695Z", "maxLatencyMs": 158, "minMos": 4.590548772936344, "minRFactor": 82.98023986816406, "receivedPackets": 2913 }, { "codecs": [ "audio/PCMU" ], "eventTime": "2023-03-15T13:17:35.725Z", "maxLatencyMs": 30, "minMos": 4.394225624992217, "minRFactor": 92.44638061523438, "receivedPackets": 2914 } ], "metrics": [ { "emitDate": "2023-03-15T13:16:37.436Z", "name": "nConnected", "value": 1 }, { "emitDate": "2023-03-15T13:17:35.658Z", "name": "tConnected", "value": 58222 } ], "segments": [ { "conference": false, "queueId": "dab1f93a-34c8-4bce-a4cf-0d058bfcba0a", "segmentEnd": "2023-03-15T13:16:37.436Z", "segmentStart": "2023-03-15T13:16:34.961Z", "segmentType": "dialing" }, { "conference": false, "disconnectType": "peer", "queueId": "dab1f93a-34c8-4bce-a4cf-0d058bfcba0a", "segmentEnd": "2023-03-15T13:17:35.658Z", "segmentStart": "2023-03-15T13:16:37.436Z", "segmentType": "interact" } ] } ] } ] } ], "totalHits": 1 }
[/details]
tim.smith | 2023-03-24 13:07:05 UTC | #2
If you believe the data returned by the API is incorrect, please open a case with Genesys Cloud Care to investigate. Customer-specific data cannot be investigated via the forum.
gsojitra | 2023-03-24 15:27:38 UTC | #3
tim.smith, post:2, topic:19086
Genesys Cloud Care
Thanks for the quick response.
Can you guide me on how to open a case with Genesys Cloud Care?
Thanks
gsojitra | 2023-03-27 09:08:39 UTC | #4
@tim.smith Can you help me open a case for this issue with Genesys Cloud Care?
Thanks
tim.smith | 2023-04-06 05:36:05 UTC | #5
You can find information about contacting Genesys Cloud Care here: https://help.mypurecloud.com/articles/contact-genesys-cloud-care/. (We cannot open cases on your behalf)
system | 2023-04-27 13:40:00 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19086