QueueMetrics > Running QueueMetrics
QM, FreePBX and Recordings stored by day
trymes:
I thought I would post a summary of a major improvement that the FreePBX 2.10 upgrade has allowed, one that makes a major impact on QM users with many recordings.
Specifically, we have had our recordings all dumped into the /var/spool/monitor directory for years, and the number of recordings was causing a HUGE performance problem when retrieving the calls from the QM interface. Specifically, I wanted to implement the solution found at this link. Unfortunately, there was no good way to implement this with FreePBX 2.09 or earlier, so I was looking at crafting a script to run and place calls in folders after the fact.
Luckily, it turns out that the folks at FreePBX changed the call recording configuration for version 2.10, so now calls are automatically being placed in folders by year, month, and day. After moving all of our existing recordings into similar folders, I changed the settings in the configuration properties file, restarted QM, and was thrilled that the recordings now download almost instantaneously.
Please note, though, that the instructions in the link above will not work for FreePBX 2.10. First off, you do not need to make any changes to the dialplan, as the queue recordings are automatically stored by year, month, and day when running 2.10. Secondly, the chances to configuration.properties are slightly different.
Specifically, make these changes in configuration.properties:
--- Code: ---audio.server=it.loway.app.queuemetrics.callListen.listeners.LocalFilesByDay
default.monitored_calls=/var/spool/asterisk/monitor/%YY/%MM/%DD/
--- End code ---
I hope that information is helpful to someone out there.
Tom
PS: Now do I have to do anything to ensure that these settings are preserved when updating?
QueueMetrics:
That's great news!
Thanks for sharing! ;D
chesstrian:
This is not working for me, are there any mandatory additional change?. :-[
QueueMetrics:
What is it that's not working - the storage (in this case you should ask on FreePBX forums) or QM reading them back?
chesstrian:
Storage is working, but Queuemetrics doesn't recognize regex in the name of the directory.
Queuemetrics Logs:
Apr 30, 2013 8:41:28 AM it.loway.tpf.U listFiles
SEVERE: The directory '/var/spool/asterisk/monitor/%YY/%MM/%DD/' might not exist
Apr 30, 2013 8:41:28 AM it.loway.tpf.U listFiles
SEVERE: The directory '/var/spool/asterisk/monitor/%YY/%MM/%DD/' might not exist
Apr 30, 2013 8:41:28 AM it.loway.tpf.U listFiles
SEVERE: The directory '/var/spool/asterisk/monitor/%YY/%MM/%DD/' might not exist
but there are records in /var/spool/asterisk/monitor/2013/04/30/. :(
Navigation
[0] Message Index
[#] Next page
Go to full version