Page 1 of 1

recording to ftp fail

PostPosted: Mon Dec 10, 2007 2:37 am
by eliasferreyra
hello im trying to record cllson a ftp and it doesnt work

### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings.pl

help please

PostPosted: Mon Dec 10, 2007 3:28 am
by ramindia
Hi

you need to edit the file
and give your FTP Server ip address and user name and password

ram

yes i did it

PostPosted: Mon Dec 10, 2007 6:54 am
by eliasferreyra
yes i did it ram

look

#$v=1;

# Default variables for FTP
$VARFTP_host = '192.168.1.200';
$VARFTP_user = 'cron';
$VARFTP_pass = 'test';
$VARFTP_dir = 'RECORDINGS';


# default path to astguiclient configuration file:
$PATHconf = '/etc/astguiclient.conf';

open(conf, "$PATHconf") || die "can't open $PATHconf: $!\n";
@conf = <conf>;
close(conf);
$i=0;
foreach(@conf)
{
$line = $conf[$i];
$line =~ s/ |>|\n|\r|\t|\#.*|;.*//gi;
if ( ($line =~ /^PATHhome/) && ($CLIhome < 1) )
{$PATHhome = $line; $PATHhome =~ s/.*=//gi;}

PostPosted: Mon Dec 10, 2007 8:10 am
by ramindia
Hi

run this script manually debug mode
so you can observ any errors

ram

look ram

PostPosted: Mon Dec 10, 2007 10:07 am
by eliasferreyra
i have configured 3 vicidial servers with that

### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings.pl script


i use vi /usr/share/astguiclient/AST_CRON_mix_recordings.pl script

and configured

and works fine

but this not without script

### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings.pl


you think its the problem that i have to put script in front¿???

PostPosted: Mon Dec 10, 2007 11:44 am
by ramindia
Hi

you question not clear ?

can you elaborate more

ram

ok ram

PostPosted: Mon Dec 10, 2007 2:02 pm
by eliasferreyra
look sr. ram

im trying to save the recording files to an ftp server
and the vicidial 2.0.4 its not doing it

it doesnt send the files to my ftp it doesnt connect to the ftp
i removed iptables
and check the asterisk cli and it record fine im using the extension 8309
on the compaign page
and nothing happend

but i configured the 2.0.3 to save to an ftp and works fine
please helpme

PostPosted: Mon Dec 10, 2007 8:51 pm
by mflorell
In 2.0.4 the recording archive server login information is saved in the /etc/astguiclient.conf file

If you are still having problems, edit the code to add the "Debug=>1" flag to the FTP connection string for more information.

to matt and ram

PostPosted: Mon Dec 10, 2007 11:13 pm
by eliasferreyra
thanks matt and ram i solved with the matt information thanks
and i want to know what is the caonfig to put the vicidial to dial very fast

PostPosted: Mon Dec 10, 2007 11:35 pm
by Op3r
By purchasing the Manager's manual from www.eflo.net and reading the campaign settings :)