Author Topic: what do i need to begin running reports?  (Read 8293 times)

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
what do i need to begin running reports?
« on: May 20, 2008, 20:58:51 »
Hello, I have a question .

To begin  running reports, Do I need to have the queues and agents defined in Asterisk?
What else? Is that only?

thanks

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #1 on: May 21, 2008, 11:29:11 »
As a minimal configuration: make sure that you have your queues defined. Everything else is needed only if you need to make better reports, or apply security measures, or customize the behaviour.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #2 on: May 24, 2008, 00:02:01 »
Ok, I have defined my queues on ASterisk, I can see them in queuemetrics. Also I have defined my agents on asterisk and I can see them on setup wizard.
I have defined a queue named 701, and I have an agent here.
Then I call this agent to his extension and when I went to see the queue 701 report, I have all values in 0.

Please help me,  :(

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #3 on: May 24, 2008, 09:13:20 »
If you run a call to that agent, do you see lines appended to your queue_log?

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #4 on: May 25, 2008, 07:24:37 »
I suppose that the lines will appear after I make the call. But I don't see my number followed by the agent's number.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #5 on: May 26, 2008, 12:12:56 »
yes you should see lines appear in the queue_log when you make the call. Try posting here what you see when you send one call to an agent.
(Just one call, not the whole file :) )

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #6 on: June 01, 2008, 21:53:33 »
Ok, i maked a call to an agent that i have defined on agents.conf, and then  when i went to queue_log i donĀ“t saw anything.
And the queue_log file is too long, where do i'm supposed to see the call that i'm doing , at the begin of queu_log file or at the end??
Im trying to go to the end of the queu_log file but i cant get to the bottom of it. There is an instnat form to get at the end of it?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #7 on: June 02, 2008, 09:17:02 »
yes - run the following command to see lines as they are appended (from the Unix shell):

Code: [Select]
tail -f /var/log/asterisk/queue_log
This should point you in the right direction.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #8 on: June 02, 2008, 16:25:54 »
[root@pbx ~]# tail -f /var/log/asterisk/queue_log
1212156646|NONE|NONE|NONE|QUEUESTART|
1212156870|NONE|NONE|NONE|QUEUESTART|
1212176342|NONE|NONE|NONE|CONFIGRELOAD|
1212176916|NONE|NONE|NONE|CONFIGRELOAD|
1212176954|NONE|NONE|NONE|CONFIGRELOAD|
1212177322|NONE|NONE|NONE|CONFIGRELOAD|
1212177474|NONE|NONE|NONE|CONFIGRELOAD|
1212177791|NONE|NONE|NONE|CONFIGRELOAD|
1212177975|NONE|NONE|NONE|CONFIGRELOAD|
1212252160|NONE|NONE|NONE|CONFIGRELOAD|

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #9 on: June 02, 2008, 17:20:03 »
Steps that i had been followed:
1. Create an agent in agents.conf:

autologoff=15
wrapuptime=5000
ackcall=no
agent =>2000162,, Ana Castillo

2.  I went to queues in FreePBX, then in static agents i put:
A2000126,0

3.Then in setup wizard of QM, i have my agents defined and queues defined.

4. Try to make calls and saw the results in QM , but i have all in zero.

I followed the steps found in:
http://www.queuemetrics.com/download/QM_TrixBox_210.pdf, and  put the extensions_queuemetrics.conf in /etc/asterisk, and also modifed the configuration properties.

Still with all zero.









« Last Edit: June 02, 2008, 17:28:22 by Mlib »

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #10 on: June 03, 2008, 10:39:58 »
It looks like the call is not getting routed to the queue, if you have no CONNECT lines in the queue_log file.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #11 on: June 03, 2008, 16:03:01 »
And what is the solution?  ???

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #12 on: June 04, 2008, 10:40:19 »
If you are not sending calls to a queue() command to be processed, QM cannot pick them up (and you do not get the . Likely you are sending the call to an extension straight, not a queue.

Mlib

  • Newbie
  • *
  • Posts: 36
  • Karma: 0
    • View Profile
Re: what do i need to begin running reports?
« Reply #13 on: June 06, 2008, 00:02:47 »
Hello everyone, I think that i solved my problem, the problem was that i hadn't set the queue in inbound routes.

After I set the queue in inbound route , i begin to see the call in queue_log:

1212700778|1212700777.193|701|NONE|ENTERQUEUE||5072633021
1212700793|1212700777.193|701|Local/2000162@from-internal/n|RINGNOANSWER|15000
1212700814|1212700777.193|701|Local/2000162@from-internal/n|RINGNOANSWER|16000
1212700818|1212700777.193|701|NONE|ABANDON|1|1|40
1212700926|1212700925.200|701|NONE|ENTERQUEUE||5072634662
1212700941|1212700925.200|701|Local/2000162@from-internal/n|RINGNOANSWER|15000
1212700962|1212700925.200|701|Local/2000162@from-internal/n|RINGNOANSWER|16000
1212700965|1212700925.200|701|NONE|ABANDON|1|1|39

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: what do i need to begin running reports?
« Reply #14 on: June 06, 2008, 09:26:55 »
Yes this does make sense :)
Please note that at the moment you're using Local/xxxx channels and not agent/xxx codes in TB.