So here is what you do to create an archive:
1) mkdir /home/archive
2) useradd -d /home/archive -s /bin/false <ftp-user>
3) passwd <ftp-user> (Enter the password when it asks)
4) chown -R <ftp-user>:users /home/archive
5) cd /etc/apache2/conf.d
6) rm viciarchive.conf (if it exists)
7) wget http://download.vicihost.com/conf/viciarchive.conf
![Cool 8)](./images/smilies/icon_cool.gif)
9) rcvsftpd start
10) chkconfig apache2 on
11) rcapache2 start
The HTTP Path (VARHTTP_path) will be like this:
http://<server>/archive/RECORDINGS
The FTP directory (VARFTP_dir) will be "RECORDINGS"
To move any previously-created recordings and update their archive URLs, you need to do this on the dialers:
1) cd /var/spool/asterisk/monitorDONE/FTP
2) mv * ../MP3
If you are not using MP3 but something else, change line 2 appropriately. The FTP cronjob will pick up these new recordings and automatically re-send them to the archive server and update their URL link in vicidial.