RECORDING WITH 0KB
Posted: Tue Mar 23, 2021 2:50 pm
Hello I have a problem with the audio conversion scripts. Right now my dialplan is configured for save the recording in .gsm and the Campaign Rec exten is 8310.
The order in crontab of my script recording is the following:
### recording mixing/compressing/ftping scripts
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM
2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM
My dialplan is it:
exten => _509XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _509XXXXXXXX,n,Set(MES=${STRFTIME(${EPOCH},,%Y%m)})
exten => _509XXXXXXXX,n,Set(DIA=${STRFTIME(${EPOCH},,%d)})
exten => _509XXXXXXXX,n,System(sh /usr/local/sbin/checkDayDir.sh ${MES} ${DIA})
exten => _509XXXXXXXX,n,MixMonitor(/var/spool/asterisk/monitor/${MES}/${DIA}/OUT-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${EXTEN:2}-${CALLERID(num)}.gsm)
exten => _509XXXXXXXX,n,Dial(${SIPTRUNKP2}/${EXTEN:2},,tTo)
exten => _509XXXXXXXX,n,Hangup
I dont´t know what happen but when i made audio validation in /var/spool/monitorDONE the weight is of the final file is 0 KB
CentOS Linux release 7.8.2003 (Core) || Asterisk 13.21.0-vici || mysql Ver 15.1 Distrib 5.5.65-MariaDB, for Linux (x86_64) using readline 5.1 || VERSION: 2.14-772a
CONSTRUCCION: 201004-1045 2020 ViciDial Group
The order in crontab of my script recording is the following:
### recording mixing/compressing/ftping scripts
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --GSM
2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM
My dialplan is it:
exten => _509XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _509XXXXXXXX,n,Set(MES=${STRFTIME(${EPOCH},,%Y%m)})
exten => _509XXXXXXXX,n,Set(DIA=${STRFTIME(${EPOCH},,%d)})
exten => _509XXXXXXXX,n,System(sh /usr/local/sbin/checkDayDir.sh ${MES} ${DIA})
exten => _509XXXXXXXX,n,MixMonitor(/var/spool/asterisk/monitor/${MES}/${DIA}/OUT-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${EXTEN:2}-${CALLERID(num)}.gsm)
exten => _509XXXXXXXX,n,Dial(${SIPTRUNKP2}/${EXTEN:2},,tTo)
exten => _509XXXXXXXX,n,Hangup
I dont´t know what happen but when i made audio validation in /var/spool/monitorDONE the weight is of the final file is 0 KB
CentOS Linux release 7.8.2003 (Core) || Asterisk 13.21.0-vici || mysql Ver 15.1 Distrib 5.5.65-MariaDB, for Linux (x86_64) using readline 5.1 || VERSION: 2.14-772a
CONSTRUCCION: 201004-1045 2020 ViciDial Group