Asterisk/mISDN with Debian Lenny 5.0
With the Release of Debian Lenny, here are some instructions to use mISDN with Asterisk 1.4 released with this distribution.
Here is a great guide to install every S0/T0 card with Asterisk :
http://www.beronet.com/downloads/card_installation_guide.pdf
Install Debian 5.0 Lenny by Net Install : http://www.debian.org/distrib/netinst
Activate the Universe/Multiverse packages and backports updates in Synaptics Settings/Repositories.
Install build packages :
# su - # apt-get install build-essential linux-headers-generic flex cvs svn libncurses5-dev devscripts fakeroot # apt-get build-dep asterisk # exit
Make a directory for the stuff :
# mkdir asterisk_misdn # cd asterisk_misdn
Get source and patch for Asterisk :
# apt-get source asterisk
Install the mISDN stuff :
# wget http://www.misdn.org/downloads/releases/mISDN-1_1_9.1.tar.gz # tar xfz mISDN-1_1_9.1.tar.gz # cd mISDN-1_1_9.1 # make # su - # make install && exit # wget http://www.misdn.org/downloads/releases/mISDNuser-1_1_9.1.tar.gz # tar xvf mISDNuser-1_1_9.1.tar.gz # cd mISDNuser-1_1_9.1 # make # su - # make install && exit
Rebuild Asterisk packages with mISDN inside :
# cd asterisk* # debuild # sudo dpkg -i ../asterisk_*.deb # sudo apt-get -f install
mISDN is installed, configure it :
# sudo /etc/init.d/mISDN config
edit /etc/misdn.conf
# sudo /etc/init.d/mISDN start
Then :
- Add an SIP phone user/password inf sip.conf.
- Add an entry for this user in voicemail.com.
- Configure a Softphone/Hardphone to connect to your server.
- Try to call the demo extension with your SoftPhone.
- Try to add a rule to output tu your ISDN lines.
Everything should work !