Upgrade 3CX to v18 and get it hosted free!

Softecho mISDN compilation

Author image

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 https://www.beronet.com/download/SoftEcho, then download it to your server.

wget https://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.


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.
Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.