Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

Apparently this issue is "low priority" but it sure does make looking up calls hard. I think this is when you set recording at the extension level.

We get 1000's of 0 second 44bit files in /var/spool/asterisk/monitor.

mkdir -p /usr/local/bin/remove_0sec_calls
cat << 'EOL' >/usr/local/bin/remove_0sec_calls/remove0seccalls.sh
#!/bin/bash

find /var/spool/asterisk/monitor -type f -size -45c -delete
EOL
cat << 'EOL' >/usr/local/bin/remove_0sec_calls/remove0seccalls.cron
0 4 * * * root /usr/local/bin/remove_0sec_calls/remove0seccalls.sh

EOL
chmod +x /usr/local/bin/remove_0sec_calls -R
ln -s /usr/local/bin/remove_0sec_calls/remove0seccalls.cron /etc/cron.d/remove0seccalls.cron

http://issues.freepbx.org/browse/FREEPBX-9889
http://issues.freepbx.org/browse/FREEPBX-13370
http://issues.freepbx.org/browse/FREEPBX-10038

  • No labels