29Sep/100
UPGRADE VicidialNOW 1.3 a asterisk 1.4
![]()
Algo que me ha traido con bastante curiosidad desde hace un par de dias, es como actualizar el asterisk que contiene la distro VicidialNOW, un dialer para Contact Center bastante recomendable.
ahora bien vamos a los que nos trae a este post, actualizar este asterisk bastante viejo 1.2 a la version mas decente 1.4.
rpm -e zaptel-modules-1.2.27-2.2.6.18_164.el5.vnow rpm -e zaptel-devel-1.2.27-1 rpm -e zaptel-1.2.27-1 --nodeps rpm -e asterisk-devel-1.2.30.2-2.vnow rpm -e asterisk-1.2.30.2-2.vnow --nodeps
.
mkdir /usr/src/asterisk-1.4 cd /usr/src/asterisk-1.4 wget http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/asterisk-1.4.21.2.tar.gz wget http://downloads.asterisk.org/pub/telephony/zaptel/zaptel-1.4.12.1.tar.gz wget http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.11.3.tar.gz tar xzf asterisk-1.4.21.2.tar.gz tar xzf zaptel-1.4.12.1.tar.gz tar xzf libpri-1.4.11.3.tar.gz
Ahora compilaremos los mas facil libpri y zaptel
cd libpri-1.4.11.3 make clean; make; make install cd ../zaptel-1.4.12.1 ./configure; make clean; make; make install
Ahora si el core de todo Asterisk 1.4
cd ../asterisk-1.4.21.2 wget http://www.eflo.net/files/enter.h wget http://www.eflo.net/files/leave.h mv -f enter.h apps/enter.h mv -f leave.h apps/leave.h wget http://download.vicidial.com/asterisk-patches/1.4-gsm-gcc4.2.patch patch -p1 ./codecs/gsm/Makefile 1.4-gsm-gcc4.2.patch wget http://download.vicidial.com/conf/res_agi_defunct.patch patch -p1 < res_agi_defunct.patch File to patch: res/res_agi.c cd apps/ rm -f app_waitforsilence.c wget http://download.vicidial.com/conf/app_waitforsilence.c cd ../channels/ rm chan_sip.c wget http://download.vicidial.com/conf/chan_sip.c cd ../ ./configure; make clean; make; make install
Listo ahora tenemos nuestro vicidial con Asterisk 1.4.21.2