Airline teletype system
The Airline Teletype System uses teleprinters, which are electro-mechanical typewriters that can communicate typed messages from point to point through simple electric communications channels, often just pairs of wires. The most modern form of these devices are fully electronic and use a screen, instead of a printer.
The airline industry began using teletypewriter technology in the early 1920s using radio stations located at 10 airfields in the United States. The US Post Office and other US government agencies used these radio stations for transmitting telegraph messages. It was during this period that the first federal teletypewriter system was introduced in the United States to allow weather and flight information to be exchanged between air traffic facilities. While the use of physical teletypes is almost extinct, the message formats and switching concepts remain similar.
In 1929, Aeronautical Radio Incorporated (ARINC) was formed to manage radio frequencies and license allocation in the United States, as well as to support the radio stations that were used by the emerging airlines, a role ARINC still fulfils today. ARINC is a private company originally owned by many of the world's airlines including; American Airlines, Continental Airlines, British Airways, Air France, and SAS although it is now owned by RTCA
In 1949, the Société Internationale de Télécommunication Aeronautique (SITA) was formed as a cooperative by 11 airlines: Air France, KLM, Sabena, Swissair, TWA, British European Airways, British Overseas Airways Corporation, British South American Airways, Swedish A. G. Aerotransport, Danish Det Danske Luftfartselskab A/S, and Norwegian Det Norske Luftfartselskap. Their aim was to enable airlines to be able to use the existing communications facilities in the most efficient manner.
Morse code was the general means of relaying information between air communications stations prior to World War II. Generally, it was only necessary to relay a message between one or two stations. After World War II, there was an increase in the number of commercial aircraft operating, and these aircraft were capable of flying greater distances than in the past. As a result, the Aeronautical Fixed Telecommunications Network (AFTN) was implemented worldwide as a means of relaying the air traffic communications, sometimes through the use of radioteletype which had become common among military forces in the 1940s.
Today, the airline industry continues to use teletypewriter messages over ARINC, SITA or AFTN networks as a medium for communicating via messages. Most teletypewriter messages are machine-generated by automatic processes. IATA standardised teletype message formats throughout the airline industry.
Recently there have been initiatives in the industry to tackle the high cost of the existing Type B network by deploying secured peer-to-peer solutions, e.g. EDIfly, developed by Innovative Software SARL in Luxemburg and used by companies like Cargolux, TAP, SATS etc. Such solutions allow users to exchange unrestricted amounts of Type B data over the public internet, while maintaining all existing addressing schemes and message identification. Web-based technology also enables the community to expand the usage and removes shortcomings in the existing Type B exchange (limited to 5000 characters). The success of such initiatives will improve processing of operational data for all stakeholders in the industry and provide expanded usage until newer technology like XML become the norm in most operational systems in system of all stakeholders in the aviation scene across all continents.  
An example of a TTY message (IATA Type B format)
QD AAABBCC - IATA message to AAABBCC (QD priority=deferred, QU priority = urgent, QN priority = normal) .XXXYYZZ 111301 - from (IATA origin code + timestamp) ASM - IATA type (keyword). Identifies type of message (rest of the message conforms to the format for this type) UTC - Time mode (Coordinated Universal Time). UTC or LOCAL 27SEP03899E001/TSTF DL Y - Message Reference line NEW - ASM subtype (Action Identifier) BA667/13APR - Flight and date of flight; J 319 C1M25VVA4C26 - fleet & equipment information LHR1340 BCN1610 - Station/time for depart & arrival LHRQQQ 99/1 - Route information. 99 is the passenger departure terminal code QQQBCN 98/A - Route information. 98 is the passenger arrival terminal code QQQQQQ 906/PAYDIV B - Route information. LHRQQQ 999/1 - Route information. 999 is the aircraft arrival terminal code QQQBCN 998/A - Route information. 998 is the aircraft departure terminal code SI - Other supplementary information (free text)
IATA Teletype messages have a 7 character address consisting of the Origin IATA Code = AAA, a function indicator = BB, and the airline designator CC: HKGFFLH would be the Cargo Office (FF) of Lufthansa (LH) in Hong Kong (HKG). Auxiliary airline designators (XH) have been created to allow other stakeholders to share in the communication beyond the airlines, e.g. Ground Handlers, Charter Brokers etc.
An AFTN Teletype message always has an 8-character address.
-  What Airline IT
- ATA/IATA Reservations Interline Message Procedures - Passenger (AIRIMP) IATA
-  UNISYS
-  AIR CARGO WORLD