分类: LINUX
2008-09-01 13:17:51
yum -y install gawk sed pciutils rpm-build rpm-devel gcc \
cpp binutils glibc-devel kernel-headers kernel-devel \
gtk2 gtk+ compat-libstdc++-33 compat-gcc-32 compat-gcc-32-c++ compat-libstdc++-296
cd /usr/src
wget
wget
wget
wget
tar xvzf zaptel-1.2.15.tar.gz
cd zaptel-1.2.15
make clean && make install
cd ..
tar xvzf libpri-1.2.4.tar.gz
cd libpri-1.2.4
make clean && make install
cd ..
tar xvzf asterisk-1.2.16.tar.gz
cd asterisk-1.2.16
make clean && make install
cd ..
tar xvzf asterisk-addons-1.2.5.tar.gz
cd asterisk-addons-1.2.5
make clean && make install
cd ..
cd /usr/src/zaptel-1.2.15
make b410p
/etc/init.d/misdn-init scan
/etc/init.d/misdn-init config
;Now, Enter "nano /etc/misdn-init.conf" to edit that file
;Find the comment block about Port Settings. In mine it was set to "nt_ptmp=1,2,3,4"
;If you are connecting your B410P to Telkom lines, change this to read "te_ptmp=1,2,3,4".
;If your ISDN lines are in a DDI group you might get better results with "te_ptp=1,2,3,4"
nano /etc/misdn-init.conf
/etc/init.d/misdn-init start
chkconfig --add misdn-init
cd /usr/src/asterisk-1.2.16
make clean && make install
cd /etc/asterisk
wget
cp misdn.txt misdn.conf
yum -y install webmin
yum -y install mod_ssl
yum -y update
相关网站: