Softecho mISDN compilation

As of 15/07/2008, I've been experiencing some problems with the compilation of the Softecho-powered mISDN drivers.

After asking in the mISDN Mailing List, I learned that I have to slightly modify the source code in order to get it working with my setup.

In the file capi.c, you must add the following line right after the #includes:

#define MISDN_COMPAT_KMEMCACHE 1

My system runs Linux 2.6.21.5, Slackware Linux 12, Asterisk 1.4.21.1, mISDN-1_1_8-OCT.

Tutorial


Here's a small tutorial for the installation of those drivers with echo cancellation.

1. download the latest mISDN package from beronet

To see which is the latest version, go to http://www.beronet.com/download/SoftEcho, then download it to your server.

wget http://www.beronet.com/download/SoftEcho/mISDN-1_1_x-OCT.tar.gz

2. unpack it

tar xzf mISDN-1_1_x-OCT.tar.gz

3. patch it

vim mISDN-1_1_x-OCT/drivers/isdn/hardware/mISDN/capi.c -> add the row -> :wq

4. install it

cd mISDN-1_1_x-OCT && make install

From now on, you can refer to the README wrote by Beronet, in particular you need to follow the points II, III and IV of the manual installation.

The license registration program assumes that you have an ethernet interface named eth0, so if you don't have this network interface you'll need to tweak your system.
First of all, make sure that you have a NIC (Network Interface Card). If you use udev, as many modern GNU/Linux distributions do, you have to modify udev rules in order to get the correct name for your interface. In my system, this information is kept in /etc/udev/rules.d/75-network-devices.rules. The syntax is fairly straightforward, but if you have problems you'll find plenty of information aroind the net.

Don't forget that from Asterisk 1.4 chan_misdn is now bundled with the standard Asterisk installation, so you need to enable it from make menuselect in order to have it working. If you compiled it before installing the new drivers, recompile it.

As of 15/07/2008, I've been experiencing some problems with the compilation of the Softecho-powered mISDN drivers.

After asking in the mISDN Mailing List, I learned that I have to slightly modify the source code in order to get it working with my setup.

In the file capi.c, you must add the following line right after the #includes:

#define MISDN_COMPAT_KMEMCACHE 1

My system runs Linux 2.6.21.5, Slackware Linux 12, Asterisk 1.4.21.1, mISDN-1_1_8-OCT.

Tutorial


Here's a small tutorial for the installation of those drivers with echo cancellation.

1. download the latest mISDN package from beronet

To see which is the latest version, go to http://www.beronet.com/download/SoftEcho, then download it to your server.

wget http://www.beronet.com/download/SoftEcho/mISDN-1_1_x-OCT.tar.gz

2. unpack it

tar xzf mISDN-1_1_x-OCT.tar.gz

3. patch it

vim mISDN-1_1_x-OCT/drivers/isdn/hardware/mISDN/capi.c -> add the row -> :wq

4. install it

cd mISDN-1_1_x-OCT && make install

From now on, you can refer to the README wrote by Beronet, in particular you need to follow the points II, III and IV of the manual installation.

The license registration program assumes that you have an ethernet interface named eth0, so if you don't have this network interface you'll need to tweak your system.
First of all, make sure that you have a NIC (Network Interface Card). If you use udev, as many modern GNU/Linux distributions do, you have to modify udev rules in order to get the correct name for your interface. In my system, this information is kept in /etc/udev/rules.d/75-network-devices.rules. The syntax is fairly straightforward, but if you have problems you'll find plenty of information aroind the net.

Don't forget that from Asterisk 1.4 chan_misdn is now bundled with the standard Asterisk installation, so you need to enable it from make menuselect in order to have it working. If you compiled it before installing the new drivers, recompile it.

Created by: lupino3, Last modification: Tue 15 of Jul, 2008 (09:01 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+