Page 1 of 1

FTP Script by Vicidial

PostPosted: Sun Nov 16, 2014 8:45 am
by ruben23
Hi guys,

Is it possible for the script : AST_CRON_audio_3_ftp.pl to transfer recording to an FTP server in an alaw format recording..???

Coz as i have double check this script somehow just display this:

Code: Select all
  [--GSM] = copy GSM files
  [--MP3] = copy MPEG-Layer-3 files
  [--OGG] = copy OGG Vorbis files
  [--WAV] = copy WAV files
  [--GSW] = copy GSM with RIFF headers and .wav extension files


is it possible i can flag with alaw or do i need to do more or something else, since our FTP script just require alaw recordings.Thanks

Re: FTP Script by Vicidial

PostPosted: Sun Nov 16, 2014 8:11 pm
by ruben23
Ok, initially what i did some minor resolutions:

- i make the default recording format of my asterisk on vicidial as alaw format...and it did worked but the next issue now is when i run

AST_CRON_audio_3_ftp.pl --ALAW --nodatedir
or
AST_CRON_audio_3_ftp.pl --nodatedir

the script does not run at all just this logs:

Code: Select all
[root@go astguiclient]# /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --nodatedir --debugX

----- DEBUG -----


----- SUPER DEBUG -----


----- NO DATE DIRECTORIES -----

DONE... EXITING



Code: Select all
[root@go astguiclient]# /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --ALAW --nodatedir --debugX

----- DEBUG -----


----- SUPER DEBUG -----


----- NO DATE DIRECTORIES -----

DONE... EXITING



does changing the recording format by deafult into alaw from wav affects the FTP script itself, how do i work around on this somehow to make it worked with alaw recording. Thanks

Re: FTP Script by Vicidial

PostPosted: Mon Nov 17, 2014 4:01 am
by DomeDan
alaw is a algorithm for audio storing, a codec.
Wav is an audio container that can contain audio with a range of different kinds of codecs.

so the AST_CRON_audio_* script has nothing to do with alaw, ulaw.

If you want the system to ftp files with the alaw algorithm then choose WAV with AST_CRON_audio_3_ftp.pl