SMS Gateway 4.4 - User's Guide

Table of ContentsPreviousNextIndex

1. Overview

SMS Gateway is a UNIX-based messaging software for sending messages to GSM mobile phones and pagers (like Minicall Text in Sweden). It offers a numbers of features including defining custom gateways. SMS or Short Message Service is the name for message transmission between GSM subscribers. A message in the SMS can be up to 160 characters. A Minicall Text message can be up to 400 characters.

A number of client programs are used to send messages and display message information. Starting with release 3.0 it also supports direct HTTP and SMTP access to the server.

SMS Gateway support dial-up, telnet and direct IP connections from the gateway to the SMSC, the operator's SMS Central or Message Switch. Very high performance is achieved by using static IP connections, or a connection pool, which significantly reduces the overhead.

SMS Gateway supports the following gateway to SMSC protocols ERMES/UCP (Universal Communications Protocol), Ericsson's implementation of UCPE (UCP/Extended), CIMD (Computer Interface to Message Distribution), TAP (Telecor Application Protocol) and THS.

The default configuration in the software is set up for the Swedish market that includes the three SMS operators (Tele2/Comviq, Europolitan and Telia Mobitel) and the Minicall Text paging service from Telia Mobitel. Connection to the MS is by default through dial-up.

This software has not in any way been run through any security evaluation or certification process. If exposed to non-trusted networks or hosts a firewall or other proxy software should protect it. We do not guarantee any level of security in the software and do not take any responsibility for damage caused by unauthorized access through SMS Gateway.

1.1 Various modes of operation

The software can accept and relay messages in several different ways. Specifically you can inject a message into the SMS Gateway through:

Messages can be sent from the command line using the sms command.
SMS Gateway accepts SMTP calls on port 25 or as indicated by the SMTP_PORT keyword.
SMS Gateway accepts HTTP calls on port 7181 or as indicated by the HTTP_PORT keyword. When using HTTP delivery can either be spooled or direct. Spooled delivery means the message will be put in the outgoing queue and will then be sent as soon as possible. Direct delivery when using HTTP is used typically for static IP configurations (see below for more information) when a response can be delivered to the user after an immediate try for transmission.

The messages can be delivered to the Message Switch through:

Messages can be delivered to the MS using a Hayes-compatible modem. Messages are put in a queue and are delivered in a first-in first-serve manner.
Direct RS232
Messages can be delivered to the MS using a serial RS-232 connection via a null-modem.
Dynamic IP
Messages can be delivered to the MS using IP over dynamic IP connections. Dynamic means for each message an IP connection is opened, the message is sent to the MS and then the connection is closed down. This is quite similar to the method used by dial-up.
Static IP
Messages can be delivered to the MS using IP over a configurable number of static IP connections. Static means that the IP connections are opened up to the MS on demand but they are not closed until the server is shut down. This reduces the overhead you experience when opening up and closing down connections for every message. Static IP is the best way to achieve very high performance (typically 20+ messages per second using proper hardware).

1.2 Definitions

There are a number of important words and abbreviations in the SMS world.

Short Message Service Center.
Validity period. The period of time a message will be kept in the SMSC if it cannot be delivered to the recipient. When the VP expires the message is deleted.

1.3 Enterprise Messaging Gateway

Enterprise Messaging Gateway (EMG) is the next-generation messaging platform from Nordic Messaging Technologies. It offers impressive performance and full control over the options and possibilities in the message protocols.

For more information please visit

1.4 Support

For more information, online help and other resources available to get the most out of our products, please visit or send us an email at

Table of ContentsPreviousNextIndex