Page 1 of 1
8309 and GSM ?
Posted:
Mon Nov 09, 2009 11:22 am
by gmcust3
The default exten is 8309 which if you follow the SCRATCH_INSTALL examples will record in the WAV format for upto one hour. Another option included in the examples is 8310 which will record in GSM format for upto one hour.
I use 8309 but still I see all recordings as GSM.
Posted:
Mon Nov 09, 2009 11:32 am
by mflorell
What is in your crontab?
Posted:
Mon Nov 09, 2009 11:51 am
by gmcust3
I didn't change anything after installing.
### 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_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
Btw, whats the meaning of each line ?
Posted:
Mon Nov 09, 2009 12:46 pm
by mflorell
1st one is you are moving the recordings out of the monitor directory
2nd one is you compressing to GSM
3rd one is you FTPing the recordings off the server
Posted:
Mon Nov 09, 2009 12:49 pm
by gmcust3
##1st one is you are moving the recordings out of the monitor directory
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_VDonly.pl
##2nd one is you compressing to GSM
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
##3rd one is you FTPing the recordings off the server
#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
----------------------------
1) Moving out monitor Directory and dumping it to ?
2) FTPing the recordings off the server , to where ? GSM folder ?
3) If I comment out 2nd line ( i.e GSM one ) so, I need to comment out 1st and 3rd also ?
Posted:
Mon Nov 09, 2009 1:17 pm
by williamconley
open those .pl files and read them. all this is contained in helpful notes IN the files in question.
Posted:
Mon Nov 09, 2009 1:23 pm
by gmcust3
Thanks William.
Silly here
# Default variables for FTP
$VARFTP_host = '10.0.0.4';
$VARFTP_user = 'cron';
$VARFTP_pass = 'test';
$VARFTP_port = '21';
$VARFTP_dir = 'RECORDINGS';
$VARHTTP_path = 'http://10.0.0.4';
Above lines can be used to copy all Vox to another FTP server , modifying different entries ?