Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba
rm -R /usr/lib/asterisk/modules/*.*
rm -R /etc/asterisk/*.*
rm -R /var/lib/asterisk/sounds/*.*
rm -R /var/lib/asterisk/quiet-mp3/*.*
rm -R /var/lib/asterisk/moh/*.*
then i have do this:
******************* To install asterisk 1.4.21.2********
mkdir /usr/src/asterisk-1.4
cd /usr/src/asterisk-1.4
wget http://downloads.digium.com/pub/asteris ... 1.2.tar.gz
wget http://downloads.digium.com/pub/zaptel/ ... 2.1.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 4.9.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.9.tar.gz
cd libpri-1.4.9
make clean; make; make install
cd ../zaptel-1.4.12.1
./configure; make clean; make; make install
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-p ... c4.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
wget http://download.vicidial.com/asterisk-p ... 21.2.patch
patch -p1 < moh-alpha-sort-1.4.21.2.patch
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
make samples
modprobe zaptel
modprobe ztdummy
then to put sound directory i have add this:
****************patch sound directory*********************
cd /usr/src/
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... ent.tar.gz
wget http://downloads.digium.com/pub/telepho ... gsm.tar.gz
wget http://downloads.digium.com/pub/telepho ... law.tar.gz
wget http://downloads.digium.com/pub/telepho ... wav.tar.gz
# Set the sounds in place
cd /var/lib/asterisk/sounds
tar xzf /usr/src/asterisk-core-sounds-en-gsm-current.tar.gz
tar xzf /usr/src/asterisk-core-sounds-en-ulaw-current.tar.gz
tar xzf /usr/src/asterisk-core-sounds-en-wav-current.tar.gz
tar xzf /usr/src/asterisk-extra-sounds-en-gsm-current.tar.gz
tar xzf /usr/src/asterisk-extra-sounds-en-ulaw-current.tar.gz
tar xzf /usr/src/asterisk-extra-sounds-en-wav-current.tar.gz
# Grab parking file, and convert audio to native formats
wget http://public.vicidial.com/conf/conf.gsm
sox conf.gsm conf.wav
sox conf.gsm -t ul conf.ulaw
cp conf.gsm park.gsm
cp conf.ulaw park.ulaw
cp conf.wav park.wav
cd /var/lib/asterisk
ln -s moh mohmp3
mkdir mohmp3
cd mohmp3
tar xzf /usr/src/asterisk-moh-freeplay-gsm.tar.gz
tar xzf /usr/src/asterisk-moh-freeplay-ulaw.tar.gz
tar xzf /usr/src/asterisk-moh-freeplay-wav.tar.gz
rm CHANGES*
rm LICENSE*
rm .asterisk*
mkdir /var/lib/asterisk/quiet-mp3
cd /var/lib/asterisk/quiet-mp3
sox ../mohmp3/macroform-cold_day.wav macroform-cold_day.wav vol 0.25
sox ../mohmp3/macroform-cold_day.gsm macroform-cold_day.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/macroform-cold_day.ulaw -t ul macroform-cold_day.ulaw vol 0.25
sox ../mohmp3/macroform-robot_dity.wav macroform-robot_dity.wav vol 0.25
sox ../mohmp3/macroform-robot_dity.gsm macroform-robot_dity.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/macroform-robot_dity.ulaw -t ul macroform-robot_dity.ulaw vol 0.25
sox ../mohmp3/macroform-the_simplicity.wav macroform-the_simplicity.wav vol 0.25
sox ../mohmp3/macroform-the_simplicity.gsm macroform-the_simplicity.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/macroform-the_simplicity.ulaw -t ul macroform-the_simplicity.ulaw vol 0.25
sox ../mohmp3/reno_project-system.wav reno_project-system.wav vol 0.25
sox ../mohmp3/reno_project-system.gsm reno_project-system.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/reno_project-system.ulaw -t ul reno_project-system.ulaw vol 0.25
sox ../mohmp3/manolo_camp-morning_coffee.wav manolo_camp-morning_coffee.wav vol 0.25
sox ../mohmp3/manolo_camp-morning_coffee.gsm manolo_camp-morning_coffee.gsm vol 0.25
sox -t ul -r 8000 -c 1 ../mohmp3/manolo_camp-morning_coffee.ulaw -t ul manolo_camp-morning_coffee.ulaw vol 0.25
### run screen asterisk on boot
@reboot /usr/share/astguiclient/start_asterisk_boot.pl
or you can use the /etc/init.d/boot.local
or use this commande:
# Put the init-script in place
cd /etc/init.d
wget http://public.vicidial.com/conf/vicidial
chmod 755 /etc/init.d/vicidial
chkconfig apache2 on
chkconfig vicidial on
/etc/init.d/apache2 restart
/etc/init.d/vicidial start
##### Asterisk 1.4.27 with Dahdi
cd /usr/src/asterisk-1.4/
wget http://downloads.asterisk.org/pub/telep ... 6.3.tar.gz
wget http://downloads.asterisk.org/pub/telep ... rc3.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 0.2.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 0.2.tar.gz
wget http://downloads.asterisk.org/pub/telep ... 2.0.tar.gz
tar xvfz dahdi-tools-2.2.0.tar.gz
tar xfz dahdi-linux-2.2.0.2.tar.gz
tar xfz libpri-1.4.10.2.tar.gz
tar xfz asterisk-1.4.27-rc3.tar.gz
tar xfz asterisk-1.4.26.3.tar.gz
cd ../dahdi-linux-2.2.0.2
make
make install
cd ../dahdi-tools-2.2.0
./configure
make
make install
make config
dahdi_genconf modules
dahdi_cfg
modprobe dahdi
cd ../libpri-1.4.10.2
./configure
make
make install
cd ../asterisk-1.4.27-rc3
wget http://download.vicidial.com/asterisk-p ... c4.2.patch
wget http://download.vicidial.com/asterisk-p ... 26.2.patch
wget http://download.vicidial.com/asterisk-p ... -1.4.patch
wget http://download.vicidial.com/asterisk-p ... ence.c-1.4
wget http://download.vicidial.com/asterisk-patches/leave.h
wget http://download.vicidial.com/asterisk-patches/enter.h
mv -f enter.h apps/enter.h
mv -f leave.h apps/leave.h
patch -p1 ./codecs/gsm/Makefile 1.4-gsm-gcc4.2.patch
patch -p1 < moh-alpha-sort-1.4.26.2.patch
patch -p1 < netborder-cpd-1.4.patch
./configure
make
make install
asterisk -vvvvvvvvvvvvvvvvvvgc
Kumba wrote:Try extracting the drivers to a USB memory stick and plugging it in before you boot from the CD Drive.
It should also be noted, that using any hardware that requires non-included kernel drivers will mean you have to recompile the drivers (or reinstall them) every time you change kernel revisions. There are also other problems that can arise from third-party drivers conflicting with pre-compiled kernel drivers.
What drivers are you trying to load? I am going to guess some kind of fake-raid driver like Rocket Raid or some marvell chipset derivitive. I would look at getting a more linux-compatible hardware solution myself.
Kumba wrote:What version of the OpenSuSE installer are you using? The init script by default should call dahdi_dummy. If you need it to load different modules you need to modify the init script.
system=redhat # assume redhat
Return to ViciBox Server Install and Demo
Users browsing this forum: No registered users and 78 guests