Remotely Hosted Tone Configuration

Editing the tones.cfg File Remotely

There are several ways that the tones.cfg file can be managed remotely.  This allows the program to be running on a computer in one location while new email addresses can be added remotely.

This page outlines two methods of doing this, although there are others.  Keep in mind that the program will fetch the email addresses from the tones.cfg file every time a valid tone set is received.  However, it will only read the rest of the information when the program starts.  Therefore, to add new tone sets or modify any parameters other than the email addresses, the program must be restarted.

Hosting the tones.cfg file remotely

Starting with v57, the program is able to fetch a tones.cfg file that is hosted remotely.  This could allow this file to be remotely edited or even accessed and edited via a web interface.  The file could be stored on a website server (for example, or on a “cloud” drive like Google Drive or Dropbox if the file is made public and accessible via web link.

To do this, create a file called remote.cfg with a text editor and place it in the same directory as the TwoToneDetect program (you can use the remote_example.cfg file included with the program as an example).  The contents of the remote.cfg file should look like this:

proxy =
key = 12345ABC

The first two lines in this file are mandatory.  The first line should not be changed.  In the second line, put the URL where your tones.cfg file is stored.  The next two lines are optional, delete them if you don’t need them.    If you need to access the web through a proxy server, put that information in the third line.  If not, delete the entire line.  The fourth line is an optional 8-character DES encryption key.  If desired, the remotely-stored tones.cfg file can be encrypted using DES-ECB encryption to prevent anyone from seeing the information.  If the “key” line in the remote.cfg file is present, the program will use the specified 8-character key to decrypt the remotely stored file when loading it.  If the remote file isn’t encrypted, delete the fourth line.  The TonesEditor.exe program can be used to read and save encrypted tone configuration files.

If the program is not able to retrieve the remotely hosted file for any reason, it will revert to using the local tones.cfg file that is in the same directory as the program.  If it is able to retrieve the remotely hosted file, it will overwrite the local tones.cfg file with the information that was retrieved remotely and this new information will then be stored locally. hosting services

As a service to users of TwoToneDetect, I have started offering remote hosting and editing of tones.cfg files through  The cost is $2 per month per tones.cfg file that is hosted for noncommercial use.  This small fee helps defray the cost of providing the hosting services.

The service includes two levels of access and web-based editors.  The admin editor allows the administrator to select any tone set in the tones.cfg file and edit all information in each tone set.  Regular users are given access to only one tone set in the file and can only add or remove email information, they cannot edit any other parameters.

This service allows each agency in a county to have an individual login to manage their own user lists, while a central administrator can still edit all information for all agencies.  For a demo of this system follow this link and use this login information:

For an admin user:
username:  demoadmin

password:  twotonedetect

For a regular user:
username:  demouser
password:  twotonedetect

Please contact me if you are interested in using this service.

Using A Cloud Drive Service

Another option is to use a cloud drive service such as Dropbox or Google Drive.  To do this, install the cloud drive software on the computer running TwoToneDetect.  This will create a folder that you can then put the TwoToneDetect program folder into.  Since this folder is “in the cloud”, you can access the tones.cfg file remotely and edit it.