Calls initiated by API (StartOutboundVoiceContact) are not showing on real time metrics

0

Calls are successfully initiated using the StartOutboundVoiceContact API, I can then inspect them using contact lens, but they dont show up in the real time metric reports under routing profiles, queues or agents.

These are the params passed to the api:

const params = {
   InstanceId: INSTANCE_ID,
   ContactFlowId: "...", // An inbound contact flow id
   SourcePhoneNumber: "+12345679",  // A claimed phone number
   DestinationPhoneNumber: "+12345678",
   Attributes: { agentId }, // The agent ARN to transfer the contact to the agent queue.
};

Before triggering this operation, we try to set the agent status to available using PutUserStatus.

asked 6 months ago232 views
1 Answer
0
Accepted Answer

The real time metrics you are looking for can be found in the following metrics: API contacts handled and Average API Connecting Time. You can find the definitions in this admin guide link: https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html. Open the configuration window (cog top right) in your real time metrics view for any of your desired report, and select these metrics to show in your report.

AWS
Magda
answered 6 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions