CallWeaver ebuild

Gentoo VoIP Overlay

CallWeaver is now part of the Gentoo VoIP Overlay. Please note that ebuilds from overlays do not undergo the same degree of testing as ebuilds from the main Portage tree, you are using them at your own risk. However, feel encouraged to communicate your success stories, troubles and patches either on the corresponding Gentoo bug or in #gentoo-voip on irc.freenode.com.

Installation

Unless already present install layman first. This utility manages Gentoo overlays:

emerge -va layman
echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf

Then subscribe to the VoIP Overlay:

layman -f -a voip

You’re now ready to install CallWeaver. The first command synchronizes your local overlay copies:

layman -S
emerge -va callweaver

You may get errors complaining about keywords. As of 2008-07-03 you need to set the following in order to compile CallWeaver.

/etc/portage/package.unmask:

media-libs/spandsp

/etc/portage/package.keywords:

net-misc/callweaver
media-libs/spandsp
net-misc/vale

USE Flags

The following USE flags are currently available for CallWeaver:

ael - Local flag: Support AEL (Asterisk Extension Language) for a more C-style extensions configuration.
dahdi - Local flag: Support Digium compatible hardware (formerly known as Zaptel).
fax - Local flag: Support the fax channel driver.
jabber - Enable jabber IM protocol support.  
mgr2 - Local flag: Support the Unicall call abstraction layer.
misdn - Local flag: Support the new ISDN stack of Linux 2.6 kernels.
mysql - Adds mySQL Database support.
odbc - Adds ODBC support (Open DataBase Connectivity).
postgres - Adds support for the postgresql database.
speex - Adds support for the speex audio codec (used for speech).
t38 - Local flag: Support T.38 fax over IP.

Zaptel/DAHDI Devices

As of 2008-07-03 you need to set the following in order to compile CallWeaver with support for Zaptel/DAHDI devices.

/etc/portage/package.unmask:

net-misc/zaptel

/etc/portage/package.keywords:

net-misc/zaptel **

/etc/portage/package.use:

net-misc/callweaver dahdi

Note: The Zaptel project has been renamed to DAHDI which is why you should use the ‘dahdi’ USE flag eventhough the ebuild itself won’t be renamed before version 2.

More Resources

Alternative Sources