All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by frequency » Thu Nov 14, 2019 11:14 am
Few quick questions regarding Archive servers
1. What happens if a recording fails to transfer to the Archive server due to unavailability of FTP server or Wrong Password. The problem here is that the links are getting converted to the FTP link where the recording isn't available. Is it possible that the link stays for FTP or FTP2 folder
What i'm looking for is that if the FTP server is not accessible, the links stays on the phone servers.
2. How to move recordings once the FTP server is back from both FTP folder and FTP2 folder. I'm using AST_CRON_audio_4_ftp2.pl and it moves the recording from FTP folder and not FTP2.
Unable to move recordings to archive server from FTP2 folder.
Vicibox 8.0.1 - SVN 3050 - VERSION: 2.14-693a - BUILD: 181003-1619 - asterisk 11.25.3-vici, E1246v3 Quad system, 32G ram, SSD and RAID 10 HDD on Archive server
Thanks!
-
frequency
-
- Posts: 117
- Joined: Mon Jun 13, 2016 11:18 am
by mflorell » Fri Nov 15, 2019 7:18 am
If you are using an unreliable FTP archive server, then you should consider adding the "--ftp-validate" flag to your crontab entry for the "AST_CRON_audio_3_ftp.pl" script.
If you need to run the FTPing processes again, just copy them back to the MP3 folder from the FTP2 folder and the processes will attempt to copy them again.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by frequency » Fri Nov 15, 2019 3:08 pm
Debugging found an issue when using AST_CRON_audio_3_ftp.p
After successfully moving a few recordings, following error shows up
- Code: Select all
Can't use an undefined value as a symbol reference at /usr/lib/perl5/5.18.2/Net/FTP/dataconn.pm line 54.
Also when a file is in use, the whole script stops. since using --ftp-validate, the script is stopping.
-
frequency
-
- Posts: 117
- Joined: Mon Jun 13, 2016 11:18 am
by williamconley » Fri Nov 15, 2019 5:29 pm
frequency wrote:Debugging found an issue when using AST_CRON_audio_3_ftp.p
After successfully moving a few recordings, following error shows up
- Code: Select all
Can't use an undefined value as a symbol reference at /usr/lib/perl5/5.18.2/Net/FTP/dataconn.pm line 54.
Also when a file is in use, the whole script stops. since using --ftp-validate, the script is stopping.
In theory recordings should never be in use. In the rare event that a recording IS in use when transfer is initiated, then the next time the script runs that recording (and 1000 after it) would be transferred anyway. Slight delay, no harm, assuming you are using the validate switch.
So why is the recording "in use"?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
-
williamconley
-
- Posts: 20258
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Davenport, FL (By Disney!)
-
Return to Support
Who is online
Users browsing this forum: No registered users and 115 guests