Debian "Etch" + Asterisk + Zaptel + Libpri + mISDN + Asterisk Addons + Asterisk-GUI - Page 2

Want to support HowtoForge? Become a subscriber!
 
Submitted by olaf (Contact Author) (Forums) on Mon, 2008-01-07 17:08. ::

Go for dependencies...

aptitude install build-essential libcurl3-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev flex xsltproc
aptitude install linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev libusb-dev subversion git-core git-svn

Downloading and untarring...

cd /usr/src
wget http://downloads.digium.com/pub/asterisk/asterisk-1.4-current.tar.gz
wget http://downloads.digium.com/pub/zaptel/zaptel-1.4-current.tar.gz
wget http://downloads.digium.com/pub/libpri/libpri-1.4-current.tar.gz
wget http://www.misdn.org/downloads/mISDN.tar.gz
wget http://www.misdn.org/downloads/mISDNuser.tar.gz
wget http://downloads.digium.com/pub/asterisk/asterisk-addons-1.4-current.tar.gz
tar xvzf asterisk-1.4-current.tar.gz && tar xvzf zaptel-1.4-current.tar.gz && tar xvzf libpri-1.4-current.tar.gz && tar xvzf mISDN.tar.gz && tar xvzf mISDNuser.tar.gz && tar xvzf asterisk-addons-1.4-current.tar.gz

 

Installing Zaptel

cd /usr/src/zaptel-1.4*
./install_prereq test
./install_prereq install
./configure
make
make install
make config
modprobe ztdummy

 

Installing Libpri

cd /usr/src/libpri-1.4*
make && make install

 

Installing mISDN

Note: Don't compile the current version (1.1.7) with the last kernel (2.6.23.12). The (2.6.18.10) was tested and works.

cd /usr/src
git-clone git://git.misdn.org/git/mISDN.git/
git-clone git://git.misdn.org/git/mISDNuser.git/
cd /usr/src/mISDN
make
make install
cd /usr/src/mISDNuser/
make && make install

Configuring...

mISDN scan
mISDN config

This creates the file /etc/mISDN.conf which you should review and/or edit.

vi /etc/mISDN.conf

If everything looks good, we're going to start mISDN.

mISDN start

Check that everything is right,

misdnportinfo

Create the system startup links for mISDN:

/usr/sbin/update-rc.d mISDN defaults 15 30


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Leo-Andres Hofmann (not registered) on Thu, 2009-02-19 00:08.
you also need to install git-svn ("apt-get install git-svn") to have "git-clone" available
Submitted by olaf (registered user) on Fri, 2010-01-15 08:22.

Fixed...

Thanks Leo-Andres

Submitted by Xanchez (registered user) on Wed, 2008-02-13 13:48.

There is an error in tar xvzf asterisk-addons-1.4.5.tar.gz
It should be tar xvzf asterisk-addons-1.4-current.tar.gz

Submitted by olaf (registered user) on Mon, 2008-03-31 15:37.

Thanks Xanchez.