Reply To: RE: CDR & mp3

VitalPBX Community Support General Discussion CDR & mp3 Reply To: RE: CDR & mp3

    Gary
    Participant
    Up
    0
    Down

    #!/bin/sh
    cd /var/spool/asterisk/monitor/
    /usr/bin/find . -type f -name “*.wav” -size -200k -mtime +59 | /usr/bin/xargs /bin/rm -f >/dev/null 2>&1
    /usr/bin/find . -type f -name “*.wav” -mtime +59 | /usr/bin/xargs -i lame -r {}
    /usr/bin/find . -type f -name “*.wav” -mtime +59 | /usr/bin/xargs /bin/rm -f >/dev/null 2>&1
    exit 0

    The conversion work good I can see all the file using the command line just can not see them in the gui cdr reports.

    0