Azure Communication Services - Aanwezigheidsgebeurtenissen

Dit artikel bevat de eigenschappen en het schema voor aanwezigheidsevenementen van Communication Services. Zie Azure Event Grid gebeurtenisschema voor een inleiding tot gebeurtenisschema's.

Gebeurtenistypen

Azure Communication Services verzendt de volgende gebeurtenistypen voor aanwezigheid van gebruikers:

Gebeurtenistype Beschrijving
Microsoft.Communication.UserDisconnected Gepubliceerd nadat een Communication Services-gebruiker is aangewezen dat de verbinding met de Communication Services is verbroken

Gebeurtenisreacties

Wanneer een gebeurtenis wordt geactiveerd, verzendt de Event Grid-service gegevens over die gebeurtenis om eindpunten te abonneren.

Deze sectie bevat een voorbeeld van hoe de gegevens voor elke gebeurtenis eruitzien.

Belangrijk

De logboeken die zijn gekoppeld aan de status Verbinding verbroken door de gebruiker, kunnen globaal worden gerepliceerd. U kunt de status verbroken krijgen door u te abonneren op deze gebeurtenis via Event Grid.

Notitie

De gebeurtenis Microsoft.Communication.UserDisconnected is alleen van toepassing in de context van chat.

Microsoft.Communication.UserDisconnected

[
 {
  "id": "8f60490d-0719-4d9d-a1a6-835362fb752e",
  "topic": "/subscriptions/{subscription-id}/resourcegroups/}{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}",
  "subject": "user/{rawId}",
  "data": {
    "userCommunicationIdentifier": {
      "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_0000000b-d198-0d50-84f5-084822008d40",
      "communicationUser": {
        "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_0000000b-d198-0d50-84f5-084822008d40"
      }
    }
  },
  "eventType": "Microsoft.Communication.UserDisconnected",
  "dataVersion": "1.0",
  "metadataVersion": "1",
  "eventTime": "2021-08-10T20:25:38Z"
 }
]