It is fully functional with the exception of the call recordings transferring via FTP to the archive server. I ran the debug on FTP script that xfers and got this:
- Code: Select all
dialer10:~ # perl /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3 --run-check --debugx
----- DEBUG -----
----- SUPER DEBUG -----
----- CONCURRENCY CHECK -----
MP3 audio files
/var/spool/asterisk/monitorDONE/MP3/5SREVIVE_201127094855_9287502236-all.mp3 46944
/var/spool/asterisk/monitorDONE/MP3/5SREVIVE_201129122105_9287502236-all.mp3 8640
/var/spool/asterisk/monitorDONE/MP3/5SREVIVE_201129122806_9287502236-all.mp3 59328
/var/spool/asterisk/monitorDONE/MP3/5SREVIVE_201129123136_9287502236-all.mp3 10656
/var/spool/asterisk/monitorDONE/MP3/5SREVIVE_201127094855_9287502236-all.mp3 46944
|select recording_id,start_time from recording_log where filename='5SREVIVE_201127094855_9287502236' orde r by recording_id desc LIMIT 1;|
|1|2020-11-27|5SREVIVE_201127094855_9287502236-all.mp3| ||
Net::FTP>>> Net::FTP(3.10)
Net::FTP>>> Exporter(5.72)
Net::FTP>>> Net::Cmd(3.10)
Net::FTP>>> IO::Socket::SSL(2.068)
Net::FTP>>> IO::Socket::IP(0.38)
Net::FTP>>> IO::Socket(1.38)
Net::FTP>>> IO::Handle(1.36)
Net::FTP=GLOB(0x55c368fce9f0)<<< 220 ViciBox Archive Service
Net::FTP=GLOB(0x55c368fce9f0)>>> USER sameusername as below
Net::FTP=GLOB(0x55c368fce9f0)<<< 331 Please specify the password.
Net::FTP=GLOB(0x55c368fce9f0)>>> PASS ....
Net::FTP=GLOB(0x55c368fce9f0)<<< 530 Login incorrect.
Net::FTP=GLOB(0x55c368fce9f0)>>> CWD RECORDINGS
Net::FTP=GLOB(0x55c368fce9f0)<<< 530 Please login with USER and PASS.
Net::FTP=GLOB(0x55c368fce9f0)>>> MKD 2020-11-27
Net::FTP=GLOB(0x55c368fce9f0)<<< 530 Please login with USER and PASS.
Net::FTP=GLOB(0x55c368fce9f0)>>> CWD 2020-11-27
Net::FTP=GLOB(0x55c368fce9f0)<<< 530 Please login with USER and PASS.
Net::FTP=GLOB(0x55c368fce9f0)>>> TYPE I
Net::FTP=GLOB(0x55c368fce9f0)<<< 530 Please login with USER and PASS.
Cannot set binary transfer, is server connected? at /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl line 540.
You have new mail in /var/mail/root
so then i attempted to connect to the archive server via FTP using the same user and pass as what is in /etc/astguiclient
- Code: Select all
dialer10:~ # ftp XXXXXXXXX
Connected to XXXXXXXXX.
220 ViciBox Archive Service
Name (XXXXXXXXXX:root): same username as above
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
So the username and password are correct but when run via FTP script i get wrong user and pass. Is this a permissions issue?
Thanks in advance!