This thread keeps track of patches that were made from release to release. If you have an older release you should be able to follow these patches and get all the benefit without reinstall. Please do not post in this thread. If you have issues with the instructions below, start a new thread about it.
--------
ViciBox Redux needs to have the following done to correct various issues:
Asterisk and DAHDI issue (v.3.1.3 and under):
1) type 'pico /etc/asterisk/asterisk.conf'
2) Scroll down to the line that has runuser and rungroup
3) put a ; in front of each of those two lines
4) Restart vicidial. Asterisk will now read the DAHDI drivers
Sangoma Wanpipe Drivers (v.3.1.5 and under):
1) wanrouter stop
2) zypper refresh
3) zypper up
4a) zypper in wanpipe-kmp-default (ViciBox < 3.1.3; 64-bit only!)
4b) zypper in wanpipe-kmp-pae (ViciBox < 3.1.3; 32-bit only!)
5) restart vicidial
ViciBox Redux v.3.1.3 64-bit Only:
1) Type the following: mv /usr/local/bin/vicidial /etc/init.d/
2) restart vicidial
Lead Loader and Custom Fields (v.3.1.4 and under):
1) cd /etc/php5/apache2
2) wget http://download.vicidial.com/conf/php.ini-vicibox-v3.1
3) mv php.ini-vicibox-v3.1 php.ini
4) edit php.ini and search for date.timezone, make sure this is correct for you
5) rcapache2 restart
Call transfer and park bug (v.3.1.7 and under), this will upgrade you to 1.4.39.1-vici:
1) /etc/init.d/vicidial stop
2) zypper refresh
3) zypper up
4) /etc/init.d/vicidial start
Incorrect Timezone in php.ini (thank the PHP dev's for this req):
1) pico /etc/php5/apache2/php.ini
2) search for 'date.timezone'
3) Make sure this is set to your correct region and save file
4) rcapache2 restart
Install build environment for custom compilation of stuff (or source recompile)
1) zypper refresh
2) zypper in -t pattern devel_kernel
3) zypper install-source libpri dahdi asterisk-vici wanpipe
4) Spec files in /usr/src/packages/SPECS, sources in /usr/src/packages/SOURCES
5) Have fun
EAccelerator is broken during updates in ViciBox under v.3.1.10. Here's how to fix it:
1) zypper in -t pattern devel_basis
2) zypper si php5-eaccelerator
3) cd /usr/src/packages/SOURCES
4) tar -xjf eaccelerator-0.9.6.1.tar.bz2
5) cd eaccelerator-0.9.6.1
6) patch -p0 < ../eaccelerator-0.9.6-stringcompare.patch
7) phpize
export CFLAGS="-fno-strict-aliasing -fstack-protector"
9) ./configure
10) make
11a) On 64-Bit: make EXTENSION_DIR=/usr/lib64/php5/extensions install
11b) On 32-Bit: make EXTENSION_DIR=/usr/lib/php5/extensions install
12) rcapache2 restart