Is there an object that contains the amount of calls that are currently waiting in the queue if all extensions are busy? If not, what is the best way to infer this from the available resources?
Thanks!
I know I'm resurrecting a really old thread. But I just recently needed to do the same things and finally found a method for doing so. When you look at the calls in the ListExtensionActiveCalls for the queue, you then have to take the callID of each call and query against the Callsessions endpoint for that call. https://developers.ringcentral.com/api-reference/Call-Control/readCallSessionStatus From there you can look at the "Parties" and if the last party in there shows as "Proceeding" then the call is still in the queue and has not yet been answered.
I'd also like to know where/if Queue hold time is accessible. If I query the Active-Calls API (https://developers.ringcentral.com/api-reference/Call-Log/listExtensionActiveCalls) against the queue's ID I see my incoming call in the list but don't see an indication that it's holding or how long it may have been be holding. Are we looking in the wrong place?
Can you try to call this API on a call queue extension?
I am trying to get this same information and when I attempt to do what you said I get this error "Resource for parameter [extensionId] is not found"
Did you use the extension id of the call queue?
Actually, when I run that I'm not getting the right data anyways.
https://pastebin.com/FHZPPwzN
This is the response I get, with some information removed.
If you could help me with that'd be awesome. Thank you.
Ah, I realized you have to include the # when listing the extension. However, I am unsure how to get the Waiting in Queue status, that is the same number displayed in Live Reports. There is no waiting in status in there.
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder