cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
360
Views
1
Helpful
2
Replies

Why is the first taskLeg of a call marked as consult-done?

MuzaffarMahmood
Level 1
Level 1

Hello community,

we are integrating Webex Contact Center call records into our reporting database using the GraphQL APIs (taskDetails / CSR, agentSession / ASR, and taskLegDetails / CLR).

While analyzing taskLegDetails, we noticed a puzzling case:

  • For a particular call (same taskId), the very first leg (by createdTime) is marked with Info = consult-done.

  • Normally, I would expect the first leg to show something like new, ringing, connecting, or connected.

  • This makes it appear as if the call started with a consult-done outcome, which doesn’t match our expectations of the call flow.

We double-checked all legs for the same taskId, sorted by createdTime, and confirmed that the earliest leg really has the consult-done status.

My questions:

  1. Is it possible in Webex CC that the first taskLeg created for a taskId can legitimately be a consult-done leg?

  2. Could this be due to consult/transfer flows creating child contacts or overlapping legs?

  3. Should we always rely on CSR (taskDetails) createdTime as the authoritative call start, rather than assuming the earliest CLR leg is the “first” in the customer journey?

  4. What is the best practice for reconstructing call timelines (esp. when consult/transfer legs overlap)?

Any clarification or best practices for interpreting consult/transfer scenarios in taskLegDetails would be greatly appreciated.

Thanks in advance!
~Muzaffar Mahmood

2 Replies 2

Janos Benyovszki
Cisco Employee
Cisco Employee

@MuzaffarMahmood would you mind reporting this query to the Support team - https://developer.webex.com/explore/support? We might need to check this with engineering. Please include all the required details, our Troubleshooting guide might help with that https://developer.webex.com/explore/docs/api/guides/troubleshooting .

ok 

Thank you @Janos Benyovszki