CallWeaver deb

Use a repository (Currently Broken)

The Packages have been designed for Debian Etch. They may or may not work on Debian sid/testing and/or ubuntu. Feel free to test and report Feedback to me (“many”).

Attention This line is dead!! To use the APT Repository, please add to your ‘sources.list’:

 deb http://argabuthon.ukeer.de/debian/ etch main 

and run ‘apt-get update’ and ‘apt-cache search callweaver

Attention This line is dead!!

Alternatively you can install the Packages by Hand:

first: apt-get install libspeex1 unixodbc

You may need to apt-get install mysql, postgresql and so on stuff manually.

then fetch all packages from here:

Attention This line is dead!! http://argabuthon.ukeer.de/debian/ —CW SVN r3242 + spandsp 0.0.4pre3

and install them with dpkg -i *.deb

Create Locally

Read First for CW prerequisites:

 http://www.callweaver.org/wiki/Fast+Route+to+installing+CallWeaver 

Install with $aptitude install the following (or newer):

ii libspandsp3 0.0.4pre18-1 Telephony signal processing library

ii libspandsp-dev 0.0.4pre18-1 Telephony signal processing library

or geht it from http://www.soft-switch.org/downloads/spandsp/ if debian repository is out of sync and build the packages.

ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) library

ii libtiff4-dev 3.8.2-7 Tag Image File Format library (TIFF), development files

Additionally, the following other packages are required: gcc libtiff-dev libspandsp-dev make subversion libtool automake dpkg-dev bison libspeexdsp-dev

Then:

1. cd /usr/local/src

2. svn co http://svn.callweaver.org/callweaver/branches/rel/1.2/ callweaver-svn-1.2

2.1 Attention you must patch the sources unless this patch is added to trunk please see this tickt for more details: http://www.callweaver.org/ticket/454

3. cd callweaver-svn-1.2

4. ./bootstrap.sh

5. dpkg-buildpackage -b (will tell You if (possibly outdated minimum) build deps left unsatisfied)

this should create these CW packages:

../callweaver-dev_1.2.0RC_i386.deb

../callweaver-zaptel_1.2.0RC_all.deb

../callweaver-doc_1.2.0RC_all.deb

../callweaver_1.2.0RC_i386.deb

install them with dpkg -i but check the setup carefully and expect some more manual work, remember, CW debian packaging scripts are still betaware and currently out of sync also the debian dependency checks cannot guarantee matching of system requirements anymore, pls report any weirdness like CW module autoloading failures and realtime problems on target machines to the devlist, and to tickets tracker if confirmed and reproducible.

CallWeaver depends on callweaver-sounds, get it from here

svn co http://roy@svn.callweaver.org/callweaver-sounds

and build the package from it. this depends on a sox version with gsm support: libsox-fmt-all.

If dpkg-buildpackage -b doesn’t work, ”./configure”, “make”, and “make install” seem to be more reliable.

dependency dance

When building 1.2.0.1 on debian testing (2008-08-31) I experienced the following:

  • “dpkg-buildpackage -b” will tell you to install libbluetooth2-dev – but apt-get refuses to install it.
    • solution: “apt-get install libbluetooth-dev” – which provides a virtual libbluetooth2-dev
  • building failed because testing right now has a newer libspandsp (0.0.5~pre4-1)
  • it will also fail while building because it doesn’t know about new dependencies:
    • solution: “apt-get install libspeexdsp-dev”