The dashboard should display the destination number that the user is calling

If I want the dashboard to display whether a user is making a call or is available, and if there is an ongoing call, show the destination number being called on the dashboard in real-time, is this possible? Which API should I use to achieve this?

User Presence and call information are two unrelated things.
At a very high level - You'd need to retrieve your current user presence, keep track of all the agents you found in an Interacting status, run a conversations query for outbound voice interactions including those agents that are incomplete, mine the sessionDnis from the external participant they're talking to and then assemble it all together.

The Agent Status Workspace -> Statuses tab does a version of that using /api/v2/analytics/conversations/details/query and /api/v2/analytics/users/aggregates/query

And makes it look easier than it actually is.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.