Closed kordina-AT closed 8 months ago
FYI @samarthasthana
@kordina-AT Thanks for raising this issue. Could you please retest the behavior in 1.2.0-beta.9995 version. We added a fix that was affecting the remove participant behavior for PSTN user type. Hope this helps.
@samarthasthana I tested the scenario with the latest version of the library (1.2.0.10115) and everything seems to be ok now. Thank you.
In a group call I have bot, teams and PSTN participants. If the PSTN participant terminates the call, the application receives the termination information (see log below), but the Call.Participants.OnUpdated event is not raised. In the same scenario, if a Teams participant left the call, the OnUpdated event occurs.
Libs version: Microsoft.Graph.Communications Calls SDK version 1.2.0.9895 Microsoft.Graph 5.42.0.0
Log:
2024-02-15T11:18:45.2580760+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:Scenario ID extracted from Scenario-Id is: 6b6df099-9cb1-4389-8beb-c6040732fb9b,REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b 2024-02-15T11:18:45.2634115+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:Request ID extracted from X-Microsoft-Skype-Message-ID is: b5ab97ed-6d53-4d49-889a-da8590b52da1,REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b 2024-02-15T11:18:45.2686522+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:Authenticating inbound request (b5ab97ed-6d53-4d49-889a-da8590b52da1): https://teamscti.kordina.cz/callnotify,REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b 2024-02-15T11:18:45.2805880+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:Queue found for resource communications/calls/6b1f5e00-c059-474e-abcb-0dde420e2165/participants, current queue size 7 with id communications/calls/6b1f5e00-c059-474e-abcb-0dde420e2165,REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b 2024-02-15T11:18:45.2865010+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:Updating collection notification with resource data, NotificationId: 5260c920-11d6-4419-ab3f-8f2c6439441d, Notification ResourceUrl: /communications/calls/6b1f5e00-c059-474e-abcb-0dde420e2165/participants,REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b 2024-02-15T11:18:45.2999368+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:{ "value": [ { "changeType": "Updated", "resourceUrl": "/communications/calls/6b1f5e00-c059-474e-abcb-0dde420e2165/participants", "resource": "/app/calls/6b1f5e00-c059-474e-abcb-0dde420e2165/participants", "resourceData": [ { "@odata.type": "#microsoft.graph.deltaParticipants", "participants": [ { "@odata.type": "#microsoft.graph.participant", "info": { "@odata.type": "#microsoft.graph.participantInfo", "endpointId": "00000000-0000-0000-0000-000000000000", "endpointType": 0, "identity": { "@odata.type": "#microsoft.graph.identitySet", "phone": { "@odata.type": "#microsoft.graph.identity", "id": "+420725210344", "displayName": "+420725210344", "identityProvider": "None" } } }, "isInLobby": false, "isMuted": false, "mediaStreams": [ { "@odata.type": "#microsoft.graph.mediaStream", "mediaType": "(Generic: zJw4cxmk)", "direction": 0, "serverMuted": false } ], "removedState": { "@odata.type": "#microsoft.graph.removedState", "reason": "Participant marked as removed in roster." }, "rosterSequenceNumber": 10, "publishedStates": [], "meetingRole": "(Generic: SSa18adX)", "isIdentityAnonymized": "(Generic: s59gDp+J)", "id": "00000000-0000-0000-0000-000000000000" } ], "sequenceNumber": 10 } ] } ] },REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b 2024-02-15T11:18:45.2959117+00:00 INFO [Atlantis.Pro.CtiTeamsServiceCore.Common.GraphObserver] [0] MSG:Microsoft.Graph.Communications.Calls.IParticipant collection notification with 3 elements received for Updated: /communications/calls/6b1f5e00-c059-474e-abcb-0dde420e2165/participants,REQID:,TS:2/15/2024 11:18:45 AM,PID:5920,CORRID:6b6df099-9cb1-4389-8beb-c6040732fb9b