recording to ftp fail

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

recording to ftp fail

Postby eliasferreyra » Mon Dec 10, 2007 2:37 am

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
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby ramindia » Mon Dec 10, 2007 3:28 am

Hi

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

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

yes i did it

Postby eliasferreyra » Mon Dec 10, 2007 6:54 am

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;}
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby ramindia » Mon Dec 10, 2007 8:10 am

Hi

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

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

look ram

Postby eliasferreyra » Mon Dec 10, 2007 10:07 am

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¿???
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby ramindia » Mon Dec 10, 2007 11:44 am

Hi

you question not clear ?

can you elaborate more

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

ok ram

Postby eliasferreyra » Mon Dec 10, 2007 2:02 pm

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
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby mflorell » Mon Dec 10, 2007 8:51 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

to matt and ram

Postby eliasferreyra » Mon Dec 10, 2007 11:13 pm

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
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby Op3r » Mon Dec 10, 2007 11:35 pm

By purchasing the Manager's manual from www.eflo.net and reading the campaign settings :)
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 144 guests