Skip to main content

call_completed

Example
{
"id": "it_w000001_1721833634.195",
"pbx": "000000000001",
"company": "it_w000001",
"time": 1721836787753,
"type": "call:completed",
"integrationId": "s95eum",
"data": {
"id": "it_w000001_1721833634.195",
"pbx": "000000000001",
"time": 1721836787590,
"company": "it_w000001",
"licenses": [
"x-bees"
],
"type": "call",
"flows": [
{
"flowIndex": 0,
"startTime": 1721836405153,
"endTime": 1721836427828,
"duration": 22675,
"connectTime": 5084,
"talkTime": 9033,
"waitTime": 8558,
"holdTime": 0,
"queueTime": 0,
"caller": {
"type": "LOCAL",
"phone": "230",
"name": "John Doe",
"email": "johndoe@example.com",
"userId": "3216286",
"userExtension": "230",
"userDepartment": "Sales",
"groupId": "1238467",
"groupName": "Gamma",
"userAgent": "x-bees Web 1.76.0.999999 76c54617-c30a-4410-acd0-8d4657344284",
"userDevice": "XBEES_WEB",
"role": "AGENT",
"license": "premium"
},
"callee": {
"type": "REMOTE",
"phone": "+15955555123",
"name": "+15955555123",
"role": "CLIENT"
},
"serviceNumber": "230",
"destination": "+15955555123",
"direction": "OUTBOUND",
"trunkName": "SIPTRUNK",
"trunkDirection": "outgoing",
"tags": [
"External"
],
"remotePhone": "+15955555123",
"callStatus": "COMPLETED"
}
],
"endCause": "16",
"endCauseStr": "Normal Clearing",
"endBy": "CALLER",
"totalConnectTime": 5084,
"totalTalkTime": 368660,
"totalWaitTime": 8559,
"totalHoldTime": 0,
"totalQueueTime": 0,
"complete": true
}
}