Download

You can download the code for CDRTool in the following ways:


Debian installation (stable version)

Add these lines to /etc/apt/sources.list:

# AG Projects software
deb http://ag-projects.com/debian unstable main
deb-src http://ag-projects.com/debian unstable main

Install the AG Projects debian software signing key:

sudo wget -O /etc/apt/trusted.gpg.d/agp-debian-key.gpg http://download.ag-projects.com/agp-debian-key.gpg

After that, run:

sudo apt-get update
sudo apt-get install cdrtool

Generating the debian package

The software can be downloaded as a tar archive from:

http://download.ag-projects.com/CDRTool/

Extract it using tar xvf cdrtool-version.tar.xz, or if you got an older *gz archive, tar xzvf cdrtool-version.tar.gz:

cd CDRTool
debuild

Assuming you have all the dependencies satisfied (if you are compiling opensips from source you’ll have them), it will generate a file called cdrtool_version_all.deb

You can install it with:

dpkg -i cdrtool_version_all.deb

Installing from the tar archive (stable version)

The software can be downloaded as a tar archive from:

http://download.ag-projects.com/CDRTool/

Extract it using tar xvf cdrtool-version.tar.xz, or if you got an older *gz archive, tar xzvf cdrtool-version.tar.gz.

After this copy the directory under the your web root directory/CDRTool (/var/www/CDRTool on Debian systems).


Installing from the version control repository (development branch)

The source code is managed using darcs version control tool. The darcs repository can be fetched with:

darcs get http://devel.ag-projects.com/repositories/cdrtool

To obtain the incremental changes after the initial get:

cd cdrtool
darcs pull -a

The darcs repository is also mirrored on Github.