QueueMetrics forum

QueueMetrics => Running QueueMetrics => Topic started by: gustavoy on February 25, 2015, 18:22:47

Title: cannot logon agent to queue
Post by: gustavoy 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

Title: Re: cannot logon agent to queue
Post by: mirkox 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
Title: Re: cannot logon agent to queue
Post by: gustavoy 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
Title: Re: cannot logon agent to queue
Post by: mirkox 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?
Title: Re: cannot logon agent to queue
Post by: gustavoy 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.
Title: Re: cannot logon agent to queue
Post by: mirkox on February 26, 2015, 11:10:44
I don't think that's queue_log, looks more like qloader.log  :)
Title: Re: cannot logon agent to queue
Post by: gustavoy 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?
Title: Re: cannot logon agent to queue
Post by: mirkox 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
Title: Re: cannot logon agent to queue
Post by: gustavoy 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.
Title: Re: cannot logon agent to queue
Post by: gustavoy on February 27, 2015, 18:27:19
problem fixed by adding the newagent key as stated on previous port. Thanks