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/

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

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

  • No labels