Author Topic: What to do after install? Real-time doesn't show agents status  (Read 8895 times)

torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Hi Everyone,

Received and installed our Demo license key. Have to rush this system into demo by end of day tomorrow. Unfortunately, the tutorial guides assume that QueueMetrics is CONFIGURED after install and only provides a user/agent manual.

I have the following questions and require clarifications:

1- We are running PBXinaFLASH. I did not bring all the queue files into one (they have been rotated 6 times now) because I was afraid that it might break something. So, we should be fine with that going forward as long as we disable the log rotation further right?

2- Can we at a later stage bring the queue log files together if we decide to purchase QueueMetrics? and what is the benefit of bringing them together anyways? Aren't those old data? Can we get reports generated from 6 months ago by doing this?

3- There are no tutorials, so I found the Import Wizard and I run and I got some extensions and all Queues. So, I am unclear on what to do further to get Agents online as my Real-time doesn't show agents online. If logging into Agent portal, I can use the Log-in but I don't see the Agent logging into any queue.

***Currently, loggin into Agent/555 with password 555, I get, "Agent/333: Agent status cannot be determined"
Currently with PBXinaFlash, we have Queues that have only Dynamic agent and agents are added by a dial-plan that does the "queue add member".

Answer to all or any of the above is highly appreciated.

Thanks,
Bruce
« Last Edit: August 24, 2010, 07:45:22 by torontob »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: What to do after install? Real-time doesn't show agents status
« Reply #1 on: August 24, 2010, 13:57:12 »
1 and 2. no problems, just make sure you do not lose them. Of course you will not be able to access older information unless you put together the files.

3. you should be configuring agents in Qm or using the wizard. Before trying to use the RT page, make sure that you can see some data (calls etc)  in the reports. If you don't, likely you are using the wrong queue as a reporting unit.



torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #2 on: August 24, 2010, 16:20:23 »
Thanks for the feedback.

I do not see anything in reports. It doesn't show any of old data. What am I doing wrong with the Wizard? or is there another way of importing or step that I have missed?

The wizard imported Queues and some of the extensions. I guess it imported extensions that were mentioned in the queue_log file.

When I did the Setup Wizard > File, I got htis:
Code: [Select]
Below is a list of queues read from the configuration.
Please select the queues you want to import in QueueMetrics.
Queue name Wrap-up time Server
499 0
498 0
500 0


When I did the Setup Wizard > Queue Log File:

Code: [Select]
Below is a list of agents read from the configuration.
Please select the agents you want to import.
Agent code   Password Full name Server
331 331 Agent/331 QueueLog
333 333 Agent/333 QueueLog
334 334 Agent/334 QueueLog
335 335 Agent/335 QueueLog
337 337 Agent/337 QueueLog
338 338 Agent/338 QueueLog
339 339 Agent/339 QueueLog
341 341 Agent/341 QueueLog
343 343 Agent/343 QueueLog
347 347 Agent/347 QueueLog

All other options in Setup Wizard fail because real-time and AMI is not what I use.

Based on above, what am I missing? Why can't agents log in?

***Currently, loggin into Agent/555 with password 555, I get, "Agent/333: Agent status cannot be determined"

Even when running a Custom Report for previous days, I don't get any data. Do I not have to add a user for QueueMetrics in manager_custom.conf? How does QueueMetrics connect to Asterisk anyways to check status of extensions?

P.S. Is there a chat room for QueueMetrics, or a support line for the demo licenses where one can get quick help?

Thanks
« Last Edit: August 24, 2010, 16:23:50 by torontob »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: What to do after install? Real-time doesn't show agents status
« Reply #3 on: August 25, 2010, 11:02:40 »
Did you create Agent/555? because it's not mentioned in the  entries you have above....
Anyway: first try and run a report for a queue that you know has data on it, and you should be seeing its calls in the historical reports. When that works, we can try and do more.

torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #4 on: August 25, 2010, 21:40:42 »
Hi,

Agent/555 was a typo. Should have said Agent/333.

A second attempt with reboot of server got me the queues and agents working but now I can run reports per agent. It shows reports per Queue and All reports but not per agent.

So, I can see all reports but none for Filtered by Agent. Could this be caused by Agent names in Asterisk? I tried "agent show" on the CLI but the command is not known. This is running PBXinaFLASH. I don't recall setting a name to agent but extensions have names. Reports show fine in All Reports or Queue Reports but no per agent.

Thanks,
Bruce
« Last Edit: August 26, 2010, 02:20:48 by torontob »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: What to do after install? Real-time doesn't show agents status
« Reply #5 on: August 26, 2010, 11:21:54 »
When you run a report that is not per agent, do you see agent names (look at answered calls) that look like the ones you defined or they look different?

torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #6 on: August 26, 2010, 16:37:57 »
In Queue All reports they come as local/number@from-internal.

Here is what I see if I run a report for Yesterday for All Queues and if display ALL reports in the next page:

Queue details
Code: [Select]
Date    Caller    Queue    Wait    Duration    Pos.    Disconnection    Handled by    Attempts    Code    Stints    Srv   
08/25 - 09:47:08 2132222222 Russian-Queue 0:08  5:33  1 Agent local/341@from-internal 1 1
08/25 - 09:42:41 7033333333 English-Queue 0:04  10:47  1 Agent local/343@from-internal 1 1

OR:

Details of Agent Session
Code: [Select]
Agent    Start hour    End hour    Duration    Ext.    Termination    Pause    P.Time    Srv   
local/341@from-internal 08/25 - 10:38:39 08/25 - 11:34:42 56:03  0 0:00 
local/339@from-internal 08/25 - 11:07:49 08/25 - 12:32:19 1:24:30  0 0:00 

Thanks

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: What to do after install? Real-time doesn't show agents status
« Reply #7 on: August 27, 2010, 12:28:23 »
You need to enable Agent rewriting, so that local/123@from-internal will be read as Agent/123 in QM.

default.rewriteLocalChannel=true


torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #8 on: August 30, 2010, 05:15:19 »
Hi,

Thanks for that. And where exactly is the re-writing to bet set? Any specific file or part on the GUI?

Thanks

torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #9 on: August 30, 2010, 05:41:18 »
NVM. I found the file. This should be part of the installation process for Trixbox and PBXinaFLASH.

/usr/local/queuemetrics/webapps/queuemetrics-1.6.1.2/WEB-INF/configuration.properties



« Last Edit: August 30, 2010, 05:50:42 by torontob »

jhfitness

  • Newbie
  • *
  • Posts: 26
  • Karma: 1
    • View Profile
    • Buy Treadmill Parts
Re: What to do after install? Real-time doesn't show agents status
« Reply #10 on: August 30, 2010, 23:21:12 »
I have a side question related to this. I've been browsing tutorials and forums as I configure our system, and earlier today I changed the following in /usr/local/qloader/qloader.pl

Quote
my $rewriteToAgent   = 1;   

My understanding was that would do the report rewriting. However, based on this topic I have just changed "default.rewriteLocalChannels=true" in configuration.properties.

I understand (somewhat) that the qloader is MySQL and the configuration.properties file is more directly related to QM and the user interface for the reports. Are both changes necessary for the rewriting? And do I need to restart anything manually for these changes to take effect?

torontob

  • Full Member
  • ***
  • Posts: 155
  • Karma: 0
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #11 on: August 30, 2010, 23:24:21 »
I can answer to the restart part. Changes will be reflected when a "service queuemetrics restart" is done.

marcos

  • Loway
  • Full Member
  • *
  • Posts: 138
  • Karma: 3
    • View Profile
Re: What to do after install? Real-time doesn't show agents status
« Reply #12 on: September 06, 2010, 09:06:22 »
Hi,

The $rewriteToAgent variable in the qloader.pl script is something different on what are your needs and is responsible to rewrite agent information to MySQL database. If you modify something related to this script, you need to restart their related daemon through a "service qloaderd restart" shell command.

Setting "default.rewriteLocalChannels=true" in configuration.properties should be enought to solve your issue: this option affects how QueueMetrics analyzes MySQL stored data.
Normally, after executing any key settings modifications in the configuration.properties file, you need to issue a shell "service queuemetrics restart" command to make them effective. Dont' forget to log-off and log-on again on QueueMetrics.

Regards,
Marco.