Hi,
Sometimes, in an inconsistent way, I receve a participant in a connected state with the field "endTime" filled. I cant find a pattern for this behavior, and since I use this field for validation purposes too, I'm wondering if maybe this could be an error in object response.
Reponse fragment:
{
"id": "02f72b61-b048-4d06-9625-31f703dd648d",
"startTime": "2018-09-21T15:25:35.009Z",
**"endTime": "2018-09-21T15:25:43.706Z",**
"connectedTime": "2018-09-21T15:25:43.706Z",
"name": "###",
"userUri": "/api/v2/users/b3cb34b2-ef18-4985-8502-7299d583d609",
"userId": "b3cb34b2-ef18-4985-8502-7299d583d609",
"queueId": "59211e2b-da52-45a1-91a3-92d194d0eedc",
"queueName": "###",
"purpose": "agent",
"participantType": "Internal",
"address": "####",
"ani": "####",
"aniName": "####",
"dnis": "####",
"wrapupRequired": true,
"wrapupPrompt": "mandatory",
"alertingTimeoutMs": 60000,
"attributes": {},
"calls": [
{
**"state": "connected",**
"id": "13d7b6fa-4a2d-4e8d-8e96-d75df60b476a",
"direction": "inbound",
"recording": false,
"recordingState": "none",
"muted": false,
"confined": false,
"held": false,
....
}
],
...
}
Thank you in advance.