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.

Queue Notification

Discussion in '3CX Phone System - General' started by bensonave, Mar 27, 2018.

Thread Status:
Not open for further replies.
  1. bensonave

    Joined:
    Jan 4, 2018
    Messages:
    5
    Likes Received:
    1
    Quick question: Can we setup an IP based Strobe Light to indicate calls are waiting in queue (not ring group)?
     
  2. Saqqara

    Saqqara Well-Known Member

    Joined:
    Mar 12, 2014
    Messages:
    1,250
    Likes Received:
    202
    If you can setup the light as a SIP extension, I would say nothing stopping you adding it to a queue.
     
  3. mariosM_3CX

    mariosM_3CX Support Team
    Staff Member 3CX Support

    Joined:
    Nov 1, 2017
    Messages:
    406
    Likes Received:
    40
    Hello @bensonave

    Even considering that this is a SIP compliant device and you manage to register it, adding it as a Queue agent might not do what you've described. Like this, it may light up when extension is in a ringing status but if i got it right, you want it to light up when there are unanswered calls waiting in the Queue.
    So you'll need to somehow "sense" this and light up the IP Strobe Light(via API).
    If this is the case, you may be able to use the call control API to monitor the calls in the Queue and light up the strobe light as needed.

    Read more about the Call Control API here https://www.3cx.com/docs/call-control-api/

    Also, this thread describes how to get the active calls of a Queue using the API https://www.3cx.com/community/threads/api-function-to-show-number-of-callers-in-queue.54194/
     
  4. bensonave

    Joined:
    Jan 4, 2018
    Messages:
    5
    Likes Received:
    1
    Thank you very much. I have done researches, but missed the Call Control API. It seems there are so much more we can do with the API.

    If anyone has done a setup like this, would appreciate your input / guideline.
     
  5. voiptoys

    voiptoys Active Member

    Joined:
    Feb 13, 2013
    Messages:
    893
    Likes Received:
    154
    The strobe light as an extension in the queue would only work if you were using the "ring all" approach. If you are using a different polling strategy such as prioritized hunt, or least busy, it would only light up when the call is ringing at the strobe extension, and we don't really want that right? So what we really need is a listener that monitors whether there are calls waiting in the queue, and then use some facility (API) of the strobe to turn it on or off. This can be done using the Call Control API. You would need to monitor new connected calls, and check whether it is a queue extension, then turn on the light. Then monitor for delete events and then check again whether there are calls waiting in the queue and if no more calls are waiting, turn off the light. It's absolutely possible. This monitoring application would be either a Windows service or Linux daemon running on the 3CX server.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. bensonave

    Joined:
    Jan 4, 2018
    Messages:
    5
    Likes Received:
    1
    @voiptoys thank you for your detailed explanation. I have checked your website, you definitely created some very useful tools for 3cx.
     
Thread Status:
Not open for further replies.