Author Topic: Trouble Using LocalFilesByDay to locate call recording files  (Read 3831 times)

WRP

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 1
    • View Profile
I'm hoping that someone can assist me with a problem I am having.  Our asterisk instance is storing audio files to subfolders in a folder based on the month/year that the call is placed.  Here is the configuration change we made to configuration.properties:

Code: [Select]
default.monitored_calls=/ast1-recordings/%YY-%MM/

Here is a listing of the directory:

Code: [Select]
[root@stats]# ls -l /ast1-recordings/
total 28
drwxr-xr-x 2  102  103  4096 Oct  7 10:06 2008-10
drwxr-xr-x 2  102  103  4096 Oct  7 10:40 2008-11
drwx------ 2 root root 16384 Aug 27 16:50 lost+found

And

Code: [Select]
[root@stats]# ls -l /ast1-recordings/2008-10/
total 32
-rw-r--r-- 1 102 103 15725 Oct  7 09:46 q3002-20081007-094611-1223397963.2203279.WAV
-rw-r--r-- 1 102 103 14425 Oct  7 10:06 q3002-20081007-100615-1223399168.2203285.WAV

When I go into the queuemetrics call detail screen, it is not showing a link for the audio file.  Before we had this directory structure, it was working fine.  I have tried restarting queuemetrics as well as rebooting the whole machine.  What am I doing wrong?

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Trouble Using LocalFilesByDay to locate call recording files
« Reply #1 on: October 08, 2008, 09:05:09 »
How is your audio.server property set?

WRP

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 1
    • View Profile
Re: Trouble Using LocalFilesByDay to locate call recording files
« Reply #2 on: October 08, 2008, 17:35:32 »
That was it.  I didn't realize that I needed to change that.  I thought it was just some sort of pointer for if I made a change to the queuemetrics directory structure, or something of that sort.  Thanks for the help!

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Trouble Using LocalFilesByDay to locate call recording files
« Reply #3 on: October 08, 2008, 18:41:20 »
Yes in fact it's a completely different module being used. Nice to see it's fixed. The search performance should be way better, correct?

WRP

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 1
    • View Profile
Re: Trouble Using LocalFilesByDay to locate call recording files
« Reply #4 on: October 08, 2008, 18:42:29 »
I'd imagine so.  The machine is still in development, we haven't made it live yet.

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Trouble Using LocalFilesByDay to locate call recording files
« Reply #5 on: October 08, 2008, 18:42:56 »
 ;D