QueueMetrics > General Asterisk configuration

Extensions Instead Agents

(1/1)

runderwoodcr:
Hi every body, I have setup QueueMetrics, my setup is in a separate host from Asterisk, using Mysql as data storage, everything works fine except for the Agents Login, we do not use Agents, we use the extensions, as per every user have its own extension, and we use the AddQueueMember Application, QueueMetrics is not showing Number of Agents on a Q, ready Agents, and the Agents currently logged in, I'm using QueueMetrics 1.4.1 that is says it supports  for dynamic queue logon through AddMember and RemoveMember, can somebody tell what can I do, if I have to modify something to get this part working.

Thanks

Ricardo

QueueMetrics:
What you need to check is if in the queue_log file there are verbs like ADDMEMBER and REMOVEMEMBER when an agent logs on and off.

runderwoodcr:
I did check in the queue_log file and it doesn't appear ADDMEMBER and REMOVEMEMBER, I don't know how to make those lines appear in the log, is there any way to do it?

runderwoodcr:
Ok, I finally found how to do it, it was something like this:
For the Login
System( echo "${EPOCH}|${UNIQUEID}|${queue}|SIP/${EXTEN:3}|AGENTLOGIN|-" >> /var/log/asterisk/queue_log )

For the Logout
System( echo  "${EPOCH}|${UNIQUEID}|${queue}|SIP/${EXTEN:3}|AGENTLOGOFF|-|${RV}" >> /var/log/asterisk/queue_log )

So now my agents appear in the Real Time report and in the agents report.

But now, I have a couple more questions, now that I have this working, in the panel:

Agents currently logged in:

There are 8 columns, Agent, Last Logon, Queue(s):, Extension, On pause,   Srv, Last call,   On queue
In my installation and the changes I did, I got displayed the Agent, Last Logon, Last Call and On Queue, I will like to know what can I do to have the Queue(s) field with information, so I can know in which queues are logged in the agents.

Thanks in advance,

Ricardo

QueueMetrics:
Generally speaking, with standard agents, you know in advance on which queues(s) they work.
If you run Qm 1.4.2 and do a logon on a queue-by-queue basis, use ADDMEMBER and REMOVEMEMBER in your previuos lines to see queue-by-queue logons.

Navigation

[0] Message Index

Go to full version