Document toolboxDocument toolbox

(14.3) Recorder installation v1.10.10

Pre Conditions:

Run these commands.

#sudo apt-get update #sudo apt-get install -y gnupg2 wget lsb-release [Optional] #sudo apt upgrade

Make sure that the [deb cdrom: ...] is commented out in the source.list file in /etc/apt directory.

Also make sure that the repositories listed in the "/etc/apt/sources.list" are for the latest release of Debain. (Currently 12.2 'Bookworm')
If you make any changes to the "sources.list" file. Below are the dependencies for Debain Bookworm. If you have a different version please add accordingly.  Make sure to run the update command again.

#deb http://deb.debian.org/debian/ bookworm main #deb-src http://deb.debian.org/debian/ bookworm main #deb http://deb.debian.org/debian/ bookworm-updates main #deb-src http://deb.debian.org/debian/ bookworm-updates main

Update your system

#sudo apt-get update

Go into super user mode to get rid of permission issues.

For the latest version of Debian such as Book worm we need to follow the following steps as well.

Before we install the recorder, we need to clone the Sofia-sip and SpandDSP in /usr/src directory. In case git is not installed please install the git by running the 'apt install git' command.

Now add all these dependencies. Some of these dependencies may not be available in the future or the latest versions will be available. Please exclude it from the command and add the latest one.

In /usr/src run the following commands one by one

Go to the signal wire website and login and then make a token.. If you already have a token please proceed.

Now, run the following commands one by one to add repositories to your apt directory

Note that "#" is the indicator of a new command. Do not copy and run all commands at the same time.

After these commands run the update command and the install command.

Then get the source. Use the -b flag to get a specific branch for specified version v1.10.10

 

Because we're in a branch that will go through many rebases, it’s better to set this one, or you'll get CONFLICTS when pulling (update).

 

Edit the Recorder System Service

 

Replace the previous content with this version (omitting User and Group):

Now Reload System and Enable Recorder

Now start Recorder

Now Verify Recorder Status

Add to path

 

In case of any problem, complete documentation can be found here. 

 



 

If Recorder was already installed and you want to reinstall it follow this guide

To completely uninstall recorder from a Debian 12 server, you can follow these steps. This will remove both the recorder application and its configuration files:

1. Stop recorder

First, stop the Recorder service if it's running:

 

2. Uninstall Recorder Packages

Use apt to remove the recorder packages. This will uninstall recorder but leave the configuration files:

The --purge flag ensures that configuration files are also removed.

 

3. Remove Dependencies

After uninstalling recorder, you can remove any unneeded dependencies:

 

4. Delete Leftover Files

Check for any leftover Recorder directories or files and remove them manually:

 

5. Remove User and Group

If Recorder created a specific user and group, you can delete them as well:

 

6. Verify Removal

You can check if FreeSWITCH has been completely removed by running:

This should return no output if Recorder is uninstalled completely.

 

7. Reboot (Optional)

If you want to ensure everything is properly cleaned up, you can reboot the server:

 

This process should completely uninstall FreeSWITCH from your Debian 12 server.