cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Walkthrough Wednesdays
673
Views
0
Helpful
4
Replies
rizwan.mahmood
Beginner

How to get EstimatedWaitTime in CallBackAPI in TaskRouting PCCE 11.5 SandBox

Whenever a task is created, it returns a refURL in header for polling. Now according to the documentation, if task status is "Queued" it should return estimatedWaitTime in response but it doesn't return. Is there any configuration I need to do or need to update the url etc?

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Rizwan,

This is indeed odd.

Can you please raise a TAC case, and me/my team can help understand this better and debug your deployment?

Thanks,

Nagendra U M

View solution in original post

4 REPLIES 4
namahesh
Cisco Employee

Hi Rizwan,

That is correct. In the response to GET (polling) API request, there will be a tag called <estimatedWaitTime/> that will indicate the estimated wait time (in seconds) as reported by the CCE router, as long as the task is in QUEUED state.

Are you not seeing this XML tag in your GET API response at all, or is the value reported as "-1"?

Thanks,

Nagendra U M

Hi Mahesh,

<estimatedWaitTime/> is not received in response at all.

Hi Rizwan,

This is indeed odd.

Can you please raise a TAC case, and me/my team can help understand this better and debug your deployment?

Thanks,

Nagendra U M

View solution in original post

mneubacher
Beginner

Please have a look at the documentation regarding scripting. If you modify the script like shown here, the API will provide the EWT if applicable, otherwise -1: Scripting and Media Routing Guide for Cisco Unified ICM/Contact Center Enterprise, Release 11.5(1) - Example Scripts [C…

Content for Community-Ad

This widget could not be displayed.