QueueMetrics forum
QueueMetrics => QueueMetrics installation => Topic started by: matts on April 07, 2011, 22:23:52
-
When I run a custom report for an agent it comes back with 0 calls. But if I run it for all queues or a queue group it will show calls for that agent.
Any ideas? We're running 1.7
-
Most likely the agent name you used was not the one that QM finds, so it yelds zero results.
-
I'm selecting the agents from the drop down menu. The agents are setup as agent/xxxx in QM, and that looks like what the report is looking for and that's what it shows in the report for all agents.
Now to make QM work with our server and all the queue priority patches our developer wrote for asterisk we have to log the agents into the queues as local/xxxx.
exten => 35,4,AddQueueMember(${QUEUENAME},Local/${AGENTCODE}@from-queue/n,${DB(QPENALTY/${QUEUENAME}/agents/${AGENTCODE})},,${DB(AMPUSER/${AGENTCODE}/cidname)},HINT:${AGENTCODE}@ext-local)
I just tried setting one of the agents as Local/xxxx in QM but now he doesn't show up at all in any report. I'm guessing the report is hard set to look for Agent/xxxx? Or am I missing something?
-
You can set the rewriteLocalAgents option to true so that when in the queue_log you see "Local/123@from-internal", QM reads "Agent/123"
-
I don't see that option in my 'configuration.properties' but I have "default.rewriteLocalChannels=true"
-
Yes that's the one.
Are you sure you are simply not picking up data as Agent/XXX where you had Local/XXX?
Also, I would like to see a piece of your queue_log so we cxan check how it looks like.
-
Here's a chunk of the log for agent/7008 logging into Q160, pausing, unpausing, and logging out
1302712733|1302712733.21445|160|Local/7008@from-queue/n|ADDMEMBER|
1302712756|NONE|NONE|Local/7008@from-queue/n|PAUSEALL|
1302712756|NONE|160|Matthew S|PAUSE|
1302712756|1302712756.21447|NONE|Agent/7008|PAUSEREASON|22
1302712771|NONE|NONE|Local/7008@from-queue/n|UNPAUSEALL|
1302712771|NONE|160|Matthew S|UNPAUSE|
1302712782|1302712782.21454|160|Local/7008@from-queue/n|REMOVEMEMBER|
-
It looks correct to me - if you have rewriteLocal enabled, all activity should be sees for Agent/7008.