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

Gentoo ebuild is out of date, use svn. (Yka 20 Nov. 2009 )

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

Please note that emerge will not synchronize the overlays, so if you wish to get the latest updates from the overlays you have subscribed to, type:

layman -s ALL

Next add the following lines to /etc/portage/package.keywords:

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

And the following line to /etc/portage/package.unmask:

media-libs/spandsp

You now have the choice whether to go for the latest stable release or the bleeding edge version from the Subversion repository (use at your own risk):

For the stable release:

emerge -va callweaver

For the bleeding edge version:

emerge -va callweaver-svn

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 Drivers

You need these drivers if you are using Digium or compatible hardware. Until late 2008 they were called Zaptel and then renamed to DAHDI.

CallWeaver up to 1.2.0.1

You should use the Zaptel drivers. Before you emerge them, edit the following files:

/etc/portage/package.unmask:

net-misc/zaptel

/etc/portage/package.keywords:

net-misc/zaptel **

/etc/portage/package.use:

net-misc/callweaver zap

And now emerge the driver:

emerge zaptel

CallWeaver newer than 1.2.0.1 or from Subversion

You should use the DAHDI drivers. Before you emerge them, edit the following file:

/etc/portage/package.keywords:

net-misc/dahdi
net-misc/dahdi-tools

/etc/portage/package.use:

net-misc/callweaver dahdi

And now emerge the driver:

emerge dahdi dahdi-tools

More Resources

Alternative Sources