I got DB Error in Call Monitor

Hi all,

Can someone help me to solve this error “DB Error: unknown errorTo many files in /var/spool/asterisk/monitor/XXXXXX.wav Not all files proccessed”? I can’t see the play link to play the files. I also check in /var/spool/asterisk/monitor and there is about 64000 files with about 64GB. I think there is too many files in that path to be process, that why the error occur. What do you think about that?

Here is error screen shots:

The short term solution:
Delete some files or move them to another directory!

If you are getting too many files, you should also look at the ARI configuration variable, new to FreePBX 2.5:

$SETTINGS_MAX_FILES=3000;

you can find that in main.conf.php in the ARI include directory. This config file is left alone when FreePBX has new downloads so you may have to add it manually.

You can increase 3000 to something larger than your number of files and it should start working normally again.

Hi Mickecarlsson and Sasargen…I have solve the problem using your method…Thanks a lot for the help :slight_smile:

i am getting error while clicking the call monitor option in trixbox.