16
Running QueueMetrics / Re: Reports not updating
« on: April 17, 2011, 10:24:50 »
so I enabled asterisk rt mysql logging, but QM is still blank on the real time page, i have the following logged in mysql:
And I set the config settings as follows and restarted QM:
On the license page I have:
All my reports and realtime are showing 0 data.
Code: [Select]
mysql> use asterisk
mysql> select * from queue_log;
+----+----------------------------+--------------+-----------+-----------+----------------+---------+--------------+-------+-------+-------+
| id | time | callid | queuename | agent | event | data1 | data2 | data3 | data4 | data5 |
+----+----------------------------+--------------+-----------+-----------+----------------+---------+--------------+-------+-------+-------+
| 1 | 2011-04-17 01:10:46.502008 | NONE | NONE | NONE | QUEUESTART | | | | | |
| 2 | 2011-04-17 01:10:46.509132 | 1303027846.0 | 162 | NONE | ENTERQUEUE | | 103 | 1 | | |
| 3 | 2011-04-17 01:10:47.262150 | 1303027846.0 | 162 | SIP/105 | CONNECT | 1 | 1303027846.1 | 0 | | |
| 4 | 2011-04-17 01:10:53.988137 | 1303027846.0 | 162 | SIP/105 | COMPLETECALLER | 1 | 6 | 1 | | |
| 5 | 2011-04-17 01:15:08.263175 | 1303028108.3 | 161 | SIP/105 | REMOVEMEMBER | | | | | |
| 6 | 2011-04-17 01:15:11.258007 | 1303028111.5 | 162 | SIP/105 | REMOVEMEMBER | | | | | |
| 7 | 2011-04-17 01:15:27.532822 | 1303028127.7 | NONE | Agent/105 | HOTDESK | SIP/105 | | | | |
| 8 | 2011-04-17 01:15:27.549873 | 1303028127.7 | 161 | SIP/105 | ADDMEMBER | | | | | |
| 9 | 2011-04-17 01:15:30.604001 | 1303028130.9 | NONE | Agent/105 | HOTDESK | SIP/105 | | | | |
| 10 | 2011-04-17 01:15:30.623142 | 1303028130.9 | 162 | SIP/105 | ADDMEMBER | | | | | |
+----+----------------------------+--------------+-----------+-----------+----------------+---------+--------------+-------+-------+-------+
And I set the config settings as follows and restarted QM:
Code: [Select]
default.queue_log_file=astr:asterisk|3
sqlPreset.3.table=queue_log
sqlPreset.3.f_time_id=time
sqlPreset.3.f_call_id=callid
sqlPreset.3.f_queue=queuename
sqlPreset.3.f_agent=agent
sqlPreset.3.f_verb=event
sqlPreset.3.f_partition=
sqlPreset.3.f_data1=data1
sqlPreset.3.f_data2=
sqlPreset.3.f_data3=
sqlPreset.3.f_data4=
sqlPreset.3.f_data5=
sqlPreset.3.f_incr=id
On the license page I have:
Code: [Select]
Storage type: Asterisk Realtime: (asterisk|3)
All my reports and realtime are showing 0 data.
