Voice recording upload to FTP server Problem
Posted: Wed Sep 21, 2011 3:03 am
Dial server A: goautodial-ce-2.0-final.iso 192.168.2.39
Archive server B: goautodial-ce-2.0-final.iso 192.168.2.36
change server A /etc/astguiclient.conf ftp setting point to server B
run after change IP: update_server_ip
then: /usr/share/astguiclient
AST_CRON_audio_3_ftp.pl
AST_CRON_audio_3_newftp.pl
AST_CRON_audio_4_ftp2.pl
if I run AST_CRON_audio_3_ftp.pl , I found this:
3_ftp ->copy monitorDONE 's wav file (type: *all.wav) -> ftp server: /home/cron/2011-9-XX/*.wav
and a copy to->server A's monitorDONE/ORIG
Questions:
What about 3_newftp.pl & 4_ftp2.pl
Anyone know what's the function of those 3 scripts?
As I know it is upload recording file to the FTP server.
But I don't know how it works. I have type *.pl --help or debutX but still can't help.
Somebody help, Thank you very much!!!
Archive server B: goautodial-ce-2.0-final.iso 192.168.2.36
change server A /etc/astguiclient.conf ftp setting point to server B
- Code: Select all
[root@asterisk239 astguiclient]# vi /etc/astguiclient.conf
VARFTP_host => 192.168.2.36
VARFTP_user => cron
VARFTP_pass => test
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => 192.168.2.36
run after change IP: update_server_ip
then: /usr/share/astguiclient
AST_CRON_audio_3_ftp.pl
AST_CRON_audio_3_newftp.pl
AST_CRON_audio_4_ftp2.pl
if I run AST_CRON_audio_3_ftp.pl , I found this:
3_ftp ->copy monitorDONE 's wav file (type: *all.wav) -> ftp server: /home/cron/2011-9-XX/*.wav
and a copy to->server A's monitorDONE/ORIG
Questions:
What about 3_newftp.pl & 4_ftp2.pl
Anyone know what's the function of those 3 scripts?
As I know it is upload recording file to the FTP server.
But I don't know how it works. I have type *.pl --help or debutX but still can't help.
Somebody help, Thank you very much!!!