Author Topic: cannot logon agent to queue  (Read 3656 times)

gustavoy

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
cannot logon agent to queue
« on: February 25, 2015, 18:22:47 »
Hi ijust installed queuemetrics via the elastix 2.5 addon page and everything works, except for the issue that when i try to logon an agent to a queue it tries but then returns the queue to the left on the console. any help?

this happens on the agent console

thanks


mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: cannot logon agent to queue
« Reply #1 on: February 26, 2015, 09:35:03 »
Hello gustavoy,

is QueueMetrics reading correctly from queue_log, or better:

- is qloader running and writing on the db
- is queuemetrics set to read from the database?

I'd also check if the AMI connection is working.

Give a look here for more info:

https://github.com/Loway/QueueMetricsHowTos/blob/master/QueueMetricsInstall.md

Mirko

gustavoy

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: cannot logon agent to queue
« Reply #2 on: February 26, 2015, 11:04:47 »
Hini just check and q loader daemon is working and giving a heartbeat, ami is working with the ami test tool,and quemetrics is reading from the database... What else could be wrong.

Thanks

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: cannot logon agent to queue
« Reply #3 on: February 26, 2015, 11:06:26 »
You just get HEARTBEAT events?

Are you sure that asterisk is writing in /var/log/asterisk/queue_log?

gustavoy

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: cannot logon agent to queue
« Reply #4 on: February 26, 2015, 11:09:10 »
These is the last line on the log
Thu Feb 26 04:47:05 2015|Heart is still beating... Imported: 2551 lines.

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: cannot logon agent to queue
« Reply #5 on: February 26, 2015, 11:10:44 »
I don't think that's queue_log, looks more like qloader.log  :)

gustavoy

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: cannot logon agent to queue
« Reply #6 on: February 26, 2015, 11:13:06 »
Yes thats whats i meant sorry but it is reading the log since its importing 2551 lines right?

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: cannot logon agent to queue
« Reply #7 on: February 26, 2015, 11:15:15 »
Yes, it looks like. Did you defined your queues in QueueMetrics?

Define the queues and run the realtime page on all the queues. You should start seeing the ongoing calls.

Mirko

gustavoy

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: cannot logon agent to queue
« Reply #8 on: February 26, 2015, 11:19:03 »
I wonder that the problem is related to this post since the bahaviuor is mostly the same. Ill check

http://forum.queuemetrics.com/index.php?topic=1904.0

This not an upgrade but seems to be the same...

Queues are defined and i see the calls.
Im using the agent icon page.

gustavoy

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: cannot logon agent to queue
« Reply #9 on: February 27, 2015, 18:27:19 »
problem fixed by adding the newagent key as stated on previous port. Thanks