Author Topic: Logged out agents still display in realtime view  (Read 4119 times)

emilec

  • Newbie
  • *
  • Posts: 43
  • Karma: 4
    • View Profile
    • Email
Logged out agents still display in realtime view
« on: January 30, 2009, 12:57:57 »
We are using the QueueMetrics login page for agents along with the Asterisk code to log agents in and out of queues. I have 3 sites where agents log out the queue column becomes blank but they still have a green status icon next to them and are not disappearing from the queue. They do however not get calls and asterisk shows that they are not logged into the queue. If you leave things overnight they do eventually disappear. Two of the sites are 1.5.0 and the other is 1.4.7.1. Any thoughts as to what is causing this?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Logged out agents still display in realtime view
« Reply #1 on: January 30, 2009, 16:31:16 »
Can you send a screenshot? ancd can you check what lines get appended to the queue_log on a logoff? looks like QM is ignoring the logoffs....

emilec

  • Newbie
  • *
  • Posts: 43
  • Karma: 4
    • View Profile
    • Email
Re: Logged out agents still display in realtime view
« Reply #2 on: February 03, 2009, 09:41:21 »
Details sent to your support address.

emilec

  • Newbie
  • *
  • Posts: 43
  • Karma: 4
    • View Profile
    • Email
Re: Logged out agents still display in realtime view
« Reply #3 on: February 11, 2009, 16:26:19 »
Thanks for the reply by email. For the benefit of others the code we were using was:
exten => 21,n(logagentoff),Macro(queuelog,${NOW},${UNIQUEID},${QUEUENUMBER},Agent/${AGENTCODE},AGENTCALLBACKLOGOFF,SIP/${DB(QM/Agent/${AGENTCODE})},${LOGONTIME},0)

Which we changed to
exten => 21,n(logagentoff),Macro(queuelog,${NOW},${UNIQUEID},NONE,Agent/${AGENTCODE},AGENTCALLBACKLOGOFF,SIP/${DB(QM/Agent/${AGENTCODE})},${LOGONTIME},0)

This solved the problem.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Logged out agents still display in realtime view
« Reply #4 on: February 11, 2009, 16:45:10 »
Thanks for sharing!  ;D