QueueMetrics forum
QueueMetrics => General Asterisk configuration => Topic started by: Mlib 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
-
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.
-
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, :(
-
If you run a call to that agent, do you see lines appended to your queue_log?
-
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.
-
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 :) )
-
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?
-
yes - run the following command to see lines as they are appended (from the Unix shell):
tail -f /var/log/asterisk/queue_log
This should point you in the right direction.
-
[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|
-
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.
-
It looks like the call is not getting routed to the queue, if you have no CONNECT lines in the queue_log file.
-
And what is the solution? ???
-
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.
-
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
-
Yes this does make sense :)
Please note that at the moment you're using Local/xxxx channels and not agent/xxx codes in TB.