Hello all,
I have been working on integrating FusionPBX with our own QueueMetrics Live platform, and so far it is working pretty well. I am able to track agents logging on and off and pausing themselves over ESL events, and this is enough to provide agent tracking and agent actions to our platform (see https://manuals.loway.ch/Uniloader-chunked/ch07.html if interested in how it works).
The problem I'm having is that at the ESL level I get events that an agent "starts working", but I have no information on which queues they are supposed to work on. So this requires a separate dip into the database to pull the configuration of queues and agents and keep it in sync within QueueMetrics. But I was thinking that if I was to do the database dip when an agent start working I could know for sure on which queues they are currently available.
My question is: what happens if someone changes agent/queue association from the GUI while an agent is working? e.g. you are supposed to work on queue "A", you log on (and are working on queue A) and then when you are logged on your supervisor also sets you on queue B. Do you immediately get calls from B, or do you have to log off and log on again first?
Another thing: is there a trigger of sorts that one can use to know that a specific queue, or a tenant's configuration, was changed, as to allow caching while said configuration has not changed?
Thanks
I have been working on integrating FusionPBX with our own QueueMetrics Live platform, and so far it is working pretty well. I am able to track agents logging on and off and pausing themselves over ESL events, and this is enough to provide agent tracking and agent actions to our platform (see https://manuals.loway.ch/Uniloader-chunked/ch07.html if interested in how it works).
The problem I'm having is that at the ESL level I get events that an agent "starts working", but I have no information on which queues they are supposed to work on. So this requires a separate dip into the database to pull the configuration of queues and agents and keep it in sync within QueueMetrics. But I was thinking that if I was to do the database dip when an agent start working I could know for sure on which queues they are currently available.
My question is: what happens if someone changes agent/queue association from the GUI while an agent is working? e.g. you are supposed to work on queue "A", you log on (and are working on queue A) and then when you are logged on your supervisor also sets you on queue B. Do you immediately get calls from B, or do you have to log off and log on again first?
Another thing: is there a trigger of sorts that one can use to know that a specific queue, or a tenant's configuration, was changed, as to allow caching while said configuration has not changed?
Thanks