Hi,
The client is developing their frontend with the Embeddable Framework.
Due to a business rule, the frontend needs to receive disconnection events.
However, during a call consultation, if the client releases the call, the Embeddable interface is updated, removing the inbound participant, but the interaction event listener does not receive any disconnection events.
The Chrome console log showed the disconnect event (message below), but there is no interaction disconnect event in the listener.
CP Message - conversations :
{
"topicName": "v2.users.82584de8-ec02-4490-9550-a13be595357f.conversations",
"eventBody": {
"id": "4f7afd01-bd29-4ebb-a275-4857426ab018",
"participants": [
{
"id": "59e71e60-0a1d-470b-8d8e-f772654cb938",
"connectedTime": "2025-05-19T17:01:39.028Z",
"endTime": "2025-05-19T17:03:12.013Z",
"externalContactId": "92211096-8ba3-44a2-b5cd-4b570dea6d95",
"externalContactInitialDivisionId": "*",
"name": "Mobile Number, Brazil",
"queueId": "9d40f6bd-15ef-44ec-a250-a893cdab1afc",
"purpose": "customer",
"address": "tel:xxxxxxx",
"calls": [
{
"id": "35fdf95a-15b5-3b18-91c5-0060546b8dba",
"state": "disconnected",
"initialState": "offering",
"recording": false,
"recordingState": "none",
"muted": false,
"confined": false,
"held": false,
"securePause": false,
"disconnectType": "endpoint",
"direction": "inbound",
"self": {
"name": "Mobile Number, Brazil",
"nameRaw": "",
"addressNormalized": "tel:xxxxx",
"addressRaw": "sip:xxxxx@189.52.61.133;user=phone",
"addressDisplayable": "unavailable"
},
"other": {
"name": "aaaa, Brazil",
"addressNormalized": "tel:xxx",
"addressRaw": "sip:xxx@10.77.233.29:8140;transport=tcp",
"addressDisplayable": "unavailable"
},
"provider": "Edge",
"connectedTime": "2025-05-19T17:01:39.028Z",
"disconnectedTime": "2025-05-19T17:03:12.013Z",
"disconnectReasons": [
{
"type": "q850",
"code": 16,
"phrase": "normal call clearing"
}
]
}
]
},
Is there any way to receive this interaction event through the custom page?
Regards,
Julio Masuda
#EmbeddableFramework------------------------------
Julio Masuda
Professional Services Consultant
------------------------------