Skip to content

SW_ITelex_TX

Rolf Obrecht edited this page Aug 31, 2024 · 3 revisions

How to configure piTelex for sending telexes

Basically, we need to configure and enable the devices screen and i-Telex as well as a few global entries. If we don't want to receive telexes with this setup, we have to set the i-Telex port to "0".

Below is the most minimal content of telex.json:

# Minimal setup for a software-only i-Telex station which will only send, but not receive telexes
{
  "devices": {
    "screen": {
      "type": "screen",
      "enable": true
    },
    "i-Telex": {
      "type": "i-Telex",
      "enable": true,
      "port": 0                       # port = 0 means there is no tcp port open for telex reception
    }
  },
  "continue_with_no_printer": true,   # since there is no teleprinter connected :-) 
  "wru_id": "123456 dummy d",         # no teleprinter, no hardware answerback unit, so use this software answerback
  "wru_replace_always": true,         # always use the software answerback, do not wait for a hardware answerback unit
  "dial_timeout": 0                   # use instant dialing (try a user database lookup after every dialed digit)
}

If we have a teleprinter equipment connected and the teleprinter is equipped with a working answerback unit, we can change the file to:

# Minimal setup for an i-Telex station with a teleprinter which will not receive telexes
{
  "devices": {
    "screen": {
      "type": "screen",
      "enable": true
    },
    "i-Telex": {
      "type": "i-Telex",
      "enable": true,
      "port": 0                      
    },
  "myteleprinter": {                  # add the definitions for your teleprinter connection
    "type": "XYZ",
    "enable": true,
    .....
    }
  },
  "continue_with_no_printer": false,  # wait for the teleprinter to get ready
  "wru_id": "123456 dummy d",         # our "fallback" id
  "wru_replace_always": false,        # use the fallback id only if the hardware answerback fails
  "dial_timeout": 0                   
}

If you have a local-only setup without internet connection, you must enter the translation between a i-telex-number and a corresponding host ip and port in a local "phonebook" which defaults to the file userlist.csvin the piTelex directory. Syntax examples can be found in the file userlist_example.csv in the documentation subdirectory of piTelex.

With internet access, every dialed number will also be looked up in the central user database (TNS) and translated to the corresponding hostname/port pair. Matches in the local phonebook will however take precedence over the results of TNS queries.

All other devices (logging, archiving a.s.o. are optional but often useful, but nevertheless not required for a "simple" i-Telex station.

Clone this wiki locally