QueueMetrics > Running QueueMetrics
callListen.listeners.LocalFilesByDay does not work
(1/1)
qmax:
as in documentation, i've set
audio.server=it.loway.app.queuemetrics.callListen.listeners.LocalFilesByDay
i've tried to separate monitor files into:
/var/spool/asterisk/queue/
or
/var/spool/asterisk/year/queue/
set this up with:
default.monitored_calls=/var/spool/asterisk/%QU/
or
default.monitored_calls=/var/spool/asterisk/%YY/%QU/
retrieving call datails still cannot find record
$Id: LocalFilesByDay.java,v 1.2 2009/02/16 11:40:28 lenz-mobile Exp $ is searching.... found 0 files
[D965F3B96481F3C48E4F5597A4819650] Tempo totale esecuzione verbo 'qm_popup_call': 30 ms
[D965F3B96481F3C48E4F5597A4819650] Tempo totale esecuzione verbo 'qm_qa_popup': 40 ms
files could be found using command line utility:
astra:~ # find /var/spool/asterisk/monitor/ -name '*1247813990.28938*'
/var/spool/asterisk/monitor/2009/6/q6-1247813990.28938.wav
what's wrong here?
marcos:
Hi,
I look from your post that the file is located on:
astra:~ # find /var/spool/asterisk/monitor/ -name '*1247813990.28938*'
/var/spool/asterisk/monitor/2009/6/q6-1247813990.28938.wav
but your configuration key is:
default.monitored_calls=/var/spool/asterisk/%YY/%QU/
I think the correct value should be something like:
default.monitored_calls=/var/spool/asterisk/monitor/%YY/%QU/
Please, remember to restart your QueueMetrics instance for each modification you made on the configuration file.
Let me know if this solves the problem
Thank you and regards,
Marco Signorini
qmax:
i've tried both configurations,
with monitor/%QU and monitor/%YY/%QU
find example is only from first.
each time i restarted whole tomcat.
no effect.
is it possible to turn on some verbose logging to get more details from LocalFilesByDay ?
qmax:
I'd again request module LocalFilesByNamePattern
just like ByDay, with pattern matching filename as well, and extended to contain literal letters and some %ID
this could be MUCH faster, since no search needed at all.
marcos:
Hi,
you're right! I was gone through the code with the debugger and I've found that QueueMetrics, in the LocalFileByDay listener, wrongly replaces the %QU token with the agent's code instead of the queue name :o
I've tracked this as bug #776 in our internal bug tracker and it will be fixed on next coming QueueMetrics 1.5.4 release.
Thank you for your feedbacks!
Marco Signorini.
Navigation
[0] Message Index
Go to full version