Using Communication Service Event Grid IncomingCall event in a push notifications

Guy Swartwood 65 Reputation points
2024-02-07T18:48:15.7066667+00:00

While trying to utilize an IncomingCall event based on https://learn.microsoft.com/en-us/azure/communication-services/concepts/notifications, I am trying to understand how the IncomingCall can be used in a push notification solution.

The issue I am seeing is that the IncomingCallContext data in the IncomingCall Event Grid event is over 6k in length which much longer than what is allow as a payload in a push notification defined by Azure Notification Hub (4k limit for non-VOIP messages).

Is there guidance from Microsoft of how the mobile application is supposed to receive the incoming call context over push notifications as outlined in https://learn.microsoft.com/en-us/azure/communication-services/concepts/notifications?

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
271 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
708 questions
Azure Event Grid
Azure Event Grid
An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
322 questions
{count} votes

Accepted answer
  1. ajkuma 22,841 Reputation points Microsoft Employee
    2024-02-08T18:54:51.27+00:00

    @Guy Swartwood , Following-up on this,

    For sending the push payload for incoming call you do not need to send over the entire EG payload, here is the public sample we have that extracts only the required payload for incoming call.

    azure-communication-services-calling-event-grid - ConvertToPNInfo function in that file.

    -- If the answer helped (pointed, you in the right direction) > please click Accept Answer Or please share the requested/more info to help you better.


0 additional answers

Sort by: Most helpful