ViciBox v.3.0 archive-setup script is broken

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

ViciBox v.3.0 archive-setup script is broken

Postby Kumba » Sat Dec 18, 2010 6:59 pm

The included archive-setup is hopelessly broken. If you have already gotten your archive working, then you can skip these instructions. If yours is still broken, then the below actions should help rectify things.


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
8) chkconfig vsftpd on
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.
Last edited by Kumba on Mon Dec 20, 2010 1:10 am, edited 1 time in total.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Postby Trying » Sun Dec 19, 2010 8:53 am

Great instructions! I tried it and I didn't find any problems. The paths of my recordings are now showing! :D

The only remaining problem is that the seconds of the recordings are still not showing.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Sun Dec 19, 2010 9:06 am

Just one correction: The path cd /var/spool/asterisk/monitorDONE/ftp should be cd /var/spool/asterisk/monitorDONE/FTP
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Kumba » Mon Dec 20, 2010 1:11 am

corrected
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Vicidial archive-setup

Postby racosta79 » Tue Nov 29, 2011 2:41 pm

I just want to add that there is one thing skipped in the ViciBox Redux Cluster Manual, it is to disable the SuSEfirewall2 or open the port to be used by the vsftp server.

Good luck!
racosta79
 
Posts: 28
Joined: Fri Nov 19, 2010 7:27 pm

Postby williamconley » Tue Nov 29, 2011 8:33 pm

have you verified that this is necessary in the latest version of redux? It does not get opened automatically ..?

I think we avoided this problem by having the ftp server on the local subnet, and we always open the local subnet completely (our clustered servers always share a local subnet these days to allow easy local communication which is handled in a completely different manner than Internet traffic ... such as not blocking mysql/ftp/ssh ports locally).

But if that's not automatic, and isn't mentioned in the manual, it'd probably be a good note.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 86 guests

cron