It doesn't matter WebRTC or default PureCloud's calller under the "Calls" tab.
I'm using https://github.com/MyPureCloud/platform-client-sdk-javascript latest version 19.0.2
I have 2 accounts, let's say User1 and User2.
I logged in with User1 under Chromes Anonymous mode window
I logged in with User2 unde Chromes normal mode window
Both users have "Placing calls with another app?" turned OFF
In User1 page (https://apps.mypurecloud.com/directory/#) in call tab I press button
"Call" to User2
On my service i have configured callback with "call event" provided
{
"topicName": "v2.users.22384787-8a7f-47b7-99ba-951083c5a1dc.conversations.calls",
"version": "2",
"eventBody": {
"recordingState": "none",
"participants": [
{
"muted": false,
"confined": false,
"recording": false,
"recordingState": "none",
"id": "ed168a9d-31d9-4383-b411-e531ab32853f",
"address": "sip:5a9015a04cd4101e11be37bd+tenfolddemo.orgspan.com@localhost",
"connectedTime": "2018-03-07T09:52:16.148Z",
"purpose": "user",
"state": "connected",
"direction": "outbound",
"held": false,
"wrapupRequired": false,
"user": {
"id": "22384787-8a7f-47b7-99ba-951083c5a1dc"
},
"attributes": {},
"provider": "Edge"
},
{
"muted": false,
"confined": false,
"recording": false,
"recordingState": "none",
"id": "88748f6d-ab49-4b09-92ef-69477c8c851e",
"address": "sip:5a8d8f20b9544e1def0caaf8+tenfolddemo.orgspan.com;tgrp=7a5fb3f0-4879-4f96-96ba-c4272091b534;trunk-context=tenfoldDemo@localhost",
"endTime": "2018-03-07T09:52:16.070Z",
"purpose": "user",
"state": "disconnected",
"direction": "inbound",
"disconnectType": "transfer.noanswer",
"held": false,
"wrapupRequired": false,
"user": {
"id": "0527c0b4-4b3b-41d1-b7bc-51af7f438c56"
},
"attributes": {},
"provider": "Edge",
"peer": "3cb97957-a18e-46f5-8e96-253cc8ee0958"
},
{
"muted": false,
"confined": false,
"recording": false,
"recordingState": "none",
"id": "cbbac5c4-e9e7-465c-8013-b574d3526604",
"address": "sip:5a8d8f20b9544e1def0caaf8+tenfolddemo.orgspan.com@127.0.0.1;language=en-US;user=voicemail",
"connectedTime": "2018-03-07T09:52:16.142Z",
"purpose": "voicemail",
"state": "connected",
"direction": "inbound",
"held": false,
"wrapupRequired": false,
"user": {
"id": "0527c0b4-4b3b-41d1-b7bc-51af7f438c56"
},
"attributes": {},
"provider": "Edge",
"peer": "3cb97957-a18e-46f5-8e96-253cc8ee0958"
}
],
"id": "4d7bbac9-4872-4f11-ae61-c69bf1fd91ee"
}
}
i trigger the code pasted here https://developer.mypurecloud.com/forum/t/unable-to-accept-incoming-call-via-api/2559?u=dmitriy_gusev
Got callback status 200, and empty bodies for all [{},{},{}]
BUT on both User1 and User2 UI nothing chages. User2 still has state with answer and decline call buttons