Installing AmtImporter

Amtimporter
This service will accept the uploads from other datatex software.

  • IRCExporter
  • VoipSweeper
  • Teams recorder
  • AmtClient

Installation
Run the install script in /root/MyUpdates/amtimpoter folder and then run it again to upgrade.
The first run should extract all the required files and the second run of the install.sh files should just upgrade the service, if it is not already on the latest version.

mkdir -p /root/MyUpdates/amtimporter
cd /root/MyUpdates/
./getupdates.sh
cd amtimporter
bash ./install.sh
bash ./install.sh

Configuration

  • Check that the default ports for SSL connection and HTTP connection is set to 5334 and 5081.

vi /opt/datatex/amtimporter/amtimporter.ini

Some older sites used SSLPORT=5334 but the default should be 27443

[WEBSERVER]
SSLPORT=27443
HTTPPORT=5081

AmtClient will connect to port 27443 to upload screenshots and notes.

  • Make sure this value is not set:

CERTIFICATECAFILE=

External Connections
If you are using the IRCExporter, you will have to perform the following step.

  • Connect to the DB and Set the AI_STATUS = 1 for the GUID of the correct IRCExporter.

AutoStart
Add the startup commands to the auto start script

vi /opt/datatex/bin/check_running_apps.local

This is the section to add.

#
#AmtImporter
APP=amtimporter
APPLOC=/opt/datatex/amtimporter/
APPSTART=$APPLOC/startamtimporter
CheckAndStart $APP $APPLOC $APPSTART

Output Location
In the INI file you can see the location where the received files will be saved.

[OUTPUT]
OUTPUTPATH=/opt/datatex/amtimporter/output/

If you are using this with the Amt Remote server and require the received files to be uploaded to iReCall the location shoul dbe pointing to

OUTPUTPATH=/opt/datatex/ircexporter/uploads/

Test that the connection is working
Run the testconnection.sh script int he amtimporter folder and you should get a message like this:

<!doctype html><html><head><title>Please wait</title><meta http-equiv="refresh" content="1;URL=https://127.0.0.1/"></head><body><script type="text/javascript">setTimeout(function() { window.location.href = "https://127.0.0.1/"; }, 2000);</script><a href="https://127.0.0.1/">Please click here if your browser does not redirect you within a few seconds</a></body></html>

Command to run: [curl https://127.0.0.1:5334 -k]

Updates

Version 1.0.5.0

  • This version no longer uses the Firebird DB.
  • INI files now control the allowed devices

/opt/datatex/amtimporter/users.ini

[STATUS]
1=DEVICE_STATUS_OKAY - allowed to upload (default for first ircexporter, default for amtclients)
2=DEVICE_STATUS_PERMANENTLY_BLOCKED - will never be allowed to upload
3=DEVICE_STATUS_TEMPORARILY_BLOCKED - no uploads for now (default for new ircexporter, except for first one)
  1. The GUID will indicate the software that connected.
  2. The =1 means that the client software is allowed to connect with this status: DEVICE_STATUS_OKAY
  3. If you want to disable a client set the value to one of the other STATUS values.
[USERS]
C4FD23F5-511A-EE11-9E4F-001636773BF0=1|2023-07-04 12:10:08|DATATEX|DATATEX||ircexporter|