Download
You can download the code for CDRTool in the following ways:
Debian installation (stable version)
Add these lines to /etc/apt/sources.list.d/ag-projects.list
(substitute unstable
with your release name, like bookworm
, if you're not running unstable
):
# AG Projects software deb [signed-by=/usr/share/keyrings/agp-debian-key.gpg] http://ag-projects.com/debian unstable main deb-src [signed-by=/usr/share/keyrings/agp-debian-key.gpg] http://ag-projects.com/debian unstable main
Install the AG Projects debian software signing key:
sudo wget -O /usr/share/keyrings/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