Upgrade 3CX to v18 and get it hosted free!

Asterisk NetBSD

Author image

Asterisk on NetBSD

Asterisk 1.0 and later runs very nicely on NetBSD 2.0 or later – it’s not recommended to run on earlier versions of NetBSD because of a lack of native pthreads.

If you’re looking for support for Asterisk on NetBSD, you should try the Asterisk Mailing Lists. There is a BSD specific list which is more receptive to non-Linux users.

Installing via pkgsrc

We recommend you install these from NetBSD’s great pkgsrc system. The packages you’ll want are comms/zaptel-netbsd and comms/asterisk. If you’re not using pkgsrc currently – give it a try! Incidentally, pkgsrc also supports several other Operating Systems including MacOS X, FreeBSD, OpenBSD, DragonFly BSD, Solaris, IRIX, and some flavors of Linux.

Building Asterisk from source

Some people may prefer to build Asterisk from scratch, to try out the CVS version or for other reasons. Under NetBSD 2.0 and later, building and installing Asterisk is quite simple. You will need the following tools installed:

gmake
bison
ncurses

Once you’ve got these packages installed, you’ll need to edit the Asterisk Makefile and change this line:

LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -L/usr/pkg/lib -lncurses

to this:

LIBS+=-lpthread -lcrypto -lm -L/usr/local/lib -L/usr/pkg/lib -R /usr/local/lib -R/usr/pkg/lib -lncurses

 

Hardware support – Zaptel Drivers

There are preliminary “zaptel” drivers for NetBSD available at TASTY LIME. At the moment they support the ztdummy driver, the TDM400P (wcfxs driver), and the X100P and clones (wcfxo) under NetBSD-2.0, NetBSD-3.0_BETA and NetBSD-current.

 


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.

Related Posts:

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.