Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

How to count clients waiting in a queue?

Discussion in 'Call Flow Designer' started by Daniel Maestre, Feb 22, 2018.

Thread Status:
Not open for further replies.
  1. Daniel Maestre

    Joined:
    Jan 13, 2018
    Messages:
    2
    Likes Received:
    0
    Hi guys

    Any idea how to count clients waiting in a queue with 3CX API known the DN of the queue?
    There is no method or property in Queue class to do it, while in Control Dash in 3CXClient I know is possible to access to all statistics of the queue.

    Thanks in advance
     
  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,609
    Likes Received:
    126
    Hello @Daniel Maestre,

    You can use the 3CX Call Control API to get the number of active connections (calls) connected to the queue: DN.GetActiveConnections().Length will tell you exactly that.

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.