Author Topic: Queue(s) field and Srv field empty ..  (Read 3224 times)

Wessel

  • Newbie
  • *
  • Posts: 18
  • Karma: 2
    • View Profile
Queue(s) field and Srv field empty ..
« on: May 03, 2008, 03:05:32 »
On the page:
http://myserver:8180/queuemetrics/qm/realtime_view.jsp

The "Agents currently logged in:" the fields Queue(s) and Srv keeps empty. What do I need to do to get them filled?

Rest of QM is working great :-) but only these two fields stay empty  ???


Configuration:
Asterisk 1.4.19.1
Manager activated
QueueMetrics dialplan extensions included
Agents and Queue's setup by importing them


-- Queue.conf --
[q-dispatch]
servicelevel = 120
music = default
context=counselling
strategy=ringall
autofill=yes
joinempty=strict
leavewhenempty=strict
reportholdtime = yes
timeout = 20  ; Just enough to stay out of the voicemail from mobile phones
announce-frequency = 30
announce-holdtime = no
member => Agent/2000,10
member => Agent/2001,20

-- agents.conf --
[general]
persistentagents=yes
multiplelogin=yes

[agents]
maxlogintries=5
ackcall=yes
musiconhold => default
updatecdr=yes
agent => 2000,2000,tester 1
agent => 2001,2001,tester 2

--- extensions --
I use agentCallBackLogin for adding the agents to the Q's

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue(s) field and Srv field empty ..
« Reply #1 on: May 03, 2008, 10:58:44 »
This is correct - the Queue field gets populated only if you use AddMember logins, and the Srv field gets popuplated only if you are running a cluster, so calls might be on server A versus server B versus server C....
So I'd say everything is working now :)

supertle

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
    • Email
Re: Queue(s) field and Srv field empty ..
« Reply #2 on: July 17, 2008, 23:29:02 »
My Srv gets populated as I'm using a cluster (i.e. default.queue_log_file=cluster:trix) but my Queue is empty and I'm not sure what you mean by using the AddMember logins.  I am using AddQueueMember in asterisk and I added the codes for Asterisk 1.2 to add to queue_log  when an agent logon/logoff.  Verified queue_log the entries are there.

queue_log:
1216311974|1216311964.4436|NONE|SIP/1104|AGENTLOGIN|-
1216313216|1216313181.1410|NONE|SIP/1005|AGENTLOGOFF|-|8154

Can you explain more about what AddMember logins you are referring to?  Thanks.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Queue(s) field and Srv field empty ..
« Reply #3 on: July 22, 2008, 09:24:29 »
If you use AGENTLOGIN, QM does not have the information about which queues the agent is working on; so it will show the Queue field empty (actually it will show a database icon there, meaning "Queues are as set in the Asterisk cfg").
With ADDMEMBER, you pass along thta information, so the field appears to be populated.