I'm using Asterisk 1.8 and QueueMetrics 1.7.0.2 with hotdesking. When adding members as local channels, the realtime page only shows the agent logged in if the extension matches the agent's login. For example, if agent/555 is at extension 555, it works. But if this agent logs in at extension 556, the realtime page does not update and continues to display "Agent is currently logged off". The agent really is added to the queue and receives calls but it's just not reflected in QueueMetrics.
Here is the call trace when adding a local channel that does not match the agent's login:
-- Executing [35@queuemetrics:1] Answer("Local/35@queuemetrics-cd3e;2", "") in new stack
-- Executing [10@queuemetrics:1] Answer("Local/35@queuemetrics-cd3e;1", "") in new stack
-- Executing [10@queuemetrics:2] Wait("Local/35@queuemetrics-cd3e;1", "10") in new stack
-- Executing [35@queuemetrics:2] NoOp("Local/35@queuemetrics-cd3e;2", " "QM: AddQueueMember (asterisk v1.4+) Agent/555 at extension Local/556@from-queue/n on queue 200 made by 'agent/555' with prioritylabel 'W' and prioritynum '1'" ") in new stack
-- Executing [35@queuemetrics:3] Macro("Local/35@queuemetrics-cd3e;2", "queuelog,1306441830,1306441830.1091,NONE,Agent/555,HOTDESK,Local/556@from-queue/n") in new stack
-- Executing [s@macro-queuelog:1] Set("Local/35@queuemetrics-cd3e;2", "ADDINFO=Local/556@from-queue/n||") in new stack
-- Executing [s@macro-queuelog:2] QueueLog("Local/35@queuemetrics-cd3e;2", "NONE,1306441830.1091,Agent/555,HOTDESK,Local/556@from-queue/n||") in new stack
-- Executing [35@queuemetrics:4] AddQueueMember("Local/35@queuemetrics-cd3e;2", "200,Local/556@from-queue/n,1") in new stack
-- Executing [35@queuemetrics:5] Hangup("Local/35@queuemetrics-cd3e;2", "") in new stack
And here are the queue_log entries that are created:
1306441830|1306441830.1091|NONE|Agent/555|HOTDESK|Local/556@from-queue/n||
1306441830|1306441830.1091|200|Local/556@from-queue/n|ADDMEMBER|
For comparison, here is the call trace when adding a local channel that matches the agent's login:
-- Executing [35@queuemetrics:1] Answer("Local/35@queuemetrics-eb13;2", "") in new stack
-- Executing [10@queuemetrics:1] Answer("Local/35@queuemetrics-eb13;1", "") in new stack
-- Executing [10@queuemetrics:2] Wait("Local/35@queuemetrics-eb13;1", "10") in new stack
-- Executing [35@queuemetrics:2] NoOp("Local/35@queuemetrics-eb13;2", " "QM: AddQueueMember (asterisk v1.4+) Agent/555 at extension Local/555@from-queue/n on queue 200 made by 'agent/555' with prioritylabel 'W' and prioritynum '1'" ") in new stack
-- Executing [35@queuemetrics:3] Macro("Local/35@queuemetrics-eb13;2", "queuelog,1306441760,1306441760.1089,NONE,Agent/555,HOTDESK,Local/555@from-queue/n") in new stack
-- Executing [s@macro-queuelog:1] Set("Local/35@queuemetrics-eb13;2", "ADDINFO=Local/555@from-queue/n||") in new stack
-- Executing [s@macro-queuelog:2] QueueLog("Local/35@queuemetrics-eb13;2", "NONE,1306441760.1089,Agent/555,HOTDESK,Local/555@from-queue/n||") in new stack
-- Executing [35@queuemetrics:4] AddQueueMember("Local/35@queuemetrics-eb13;2", "200,Local/555@from-queue/n,1") in new stack
-- Executing [35@queuemetrics:5] Hangup("Local/35@queuemetrics-eb13;2", "") in new stack
And here are the queue_log entries that are created when the login and the extension match:
1306441760|1306441760.1089|NONE|Agent/555|HOTDESK|Local/555@from-queue/n||
1306441760|1306441760.1089|200|Local/555@from-queue/n|ADDMEMBER|
The only difference I can see is the channel. Is there something I need to change in the QueueMetrics configuration to make this work?
Thanks