So I have a ftp directory as /remoteftp/RECORDINGS but vicidial is not putting recordings in this directory.
# REPORT server connection information
VARREPORT_host => ftp.example.com
VARREPORT_user => ftpuser
VARREPORT_pass => ftppassword
VARREPORT_port => 21
VARREPORT_dir => remoteftp/RECORDINGS
VARHTTP_path =>
https://example.com/recordings/?file=|select recording_id,start_time from recording_log where filename='AOLOUT_mjrivera_20190124-101809_2056081221' order by recording_id desc LIMIT 1;|
|548399|2019-01-24|AOLOUT_mjrivera_20190124-101809_2056081221-all.mp3| ||
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>> Exporter(5.68)
Net::FTP>>> Net::Cmd(2.29)
Net::FTP>>> IO::Socket::INET(1.33)
Net::FTP>>> IO::Socket(1.36)
Net::FTP>>> IO::Handle(1.34)
Net::FTP=GLOB(0x202b9c0)<<< 220 ProFTPD 1.3.5b Server ready.
Net::FTP=GLOB(0x202b9c0)>>> USER remoteftp
Net::FTP=GLOB(0x202b9c0)<<< 331 Password required for remoteftp
Net::FTP=GLOB(0x202b9c0)>>> PASS ....
Net::FTP=GLOB(0x202b9c0)<<< 230-Welcome to FBI
Net::FTP=GLOB(0x202b9c0)<<< 230 User remoteftp logged in
Net::FTP=GLOB(0x202b9c0)>>> CWD remoteftp/RECORDINGS
Net::FTP=GLOB(0x202b9c0)<<< 250 CWD command successful
Net::FTP=GLOB(0x202b9c0)>>> MKD 2019-01-24
Net::FTP=GLOB(0x202b9c0)<<< 550 2019-01-24: File exists
Net::FTP=GLOB(0x202b9c0)>>> CWD 2019-01-24
Net::FTP=GLOB(0x202b9c0)<<< 250 CWD command successful
Net::FTP=GLOB(0x202b9c0)>>> TYPE I
Net::FTP=GLOB(0x202b9c0)<<< 200 Type set to I
Net::FTP=GLOB(0x202b9c0)>>> ALLO 126144
Net::FTP=GLOB(0x202b9c0)<<< 202 No storage allocation necessary
Net::FTP=GLOB(0x202b9c0)>>> PASV
Net::FTP=GLOB(0x202b9c0)<<< 227 Entering Passive Mode (181,33,19,12,227,140).
Net::FTP=GLOB(0x202b9c0)>>> STOR AOLOUT_mjrivera_20190124-101809_2056081221-all.mp3
Can't use an undefined value as a symbol reference at /usr/lib/perl5/5.18.2/Net/FTP/dataconn.pm line 54.