Hi Dears,
So after several days which started new call-center disk is almost full, so it means file format .wav is too big and we need to convert to MP3.
1. yum install lame
2. create script for convert
script:
So after several days which started new call-center disk is almost full, so it means file format .wav is too big and we need to convert to MP3.
1. yum install lame
2. create script for convert
script:
#!/bin/bash#mkdir tempfor f in /var/spool/asterisk/monitor/*.wav; do lame --replaygain-accurate -q 0 --vbr-new -V 3 "$f" "${f%.wav}.mp3"; done
Комментариев нет:
Отправить комментарий