The gateway supports the SMPP (Short Message Peer to Peer) protocol, version 3.3 or 3.4, to connect to an SMSC over the internet or other private TCP/IP network. Some mobile operators provide SMPP connections for higher volumes of SMS traffic.
To add an SMPP connection, select “Add” from the “SMSC” tab of the gateway dialog. Then select “SMPP over TCP/IP”.


“SMPP Version” specifies the version of the SMPP protocol to use. The gateway supports “v3.3” and “v3.4”.
“Server Host Name” specifies the TCP/IP address or host name of the SMPP server.
“Port” specifies the TCP/IP port on the SMPP server to which the gateway should connect.
“User Name” specifies the user name (sometimes called System ID) for the gateway to use when connecting to the SMPP server.
“Password” specifies the password for the gateway to use when connecting to the SMPP server.
“Address Range” is a parameter used primarily when receiving messages. Set this field only if instructed to do so by your SMPP service provider.
“System Type” is an optional login parameter that should be set only if required by the SMPP server. The SMPP system administrator will provide this value, which when required, is usually a short text string.
“Sender Address” specifies the default sender address (phone number) to apply to outbound SMS messages. The SMPP server may override this setting.
Check “Allow Sender Address Override” if you want to allow messages submitted to the gateway to be able to specify a sender address. If this box is checked, and a sender address is present in a message being submitted to an SMPP based SMSC, the sender address in the message will be submitted to the SMSC. The SMPP server may override this setting.
Check the “Receive SMS Messages” box if you wish to receive messages from the SMPP server. When this box is checked, the gateway will connect to the SMPP server with two separate connections, one bound as a transmitter and the other bound as a receiver.
Check the “Receive MMS Messages” box if you will be receiving MMS Notification messages via the SMSC. Note that not all service providers support the routing of MMS notification messages via an SMSC connection. If MMS messages will be received via the SMSC connection, it is necessary to also configure additional MMS settings. The “MMS Settings” dialog will display a dialog with additional configuration settings that are required for enabling the gateway to be able to receive MMS messages from the operator network. For additional configuration information on processing received MMS messages, please refer to 2-Way MMS Support .
The “Routing” group of options is used when multiple SMSC connections are defined to the gateway. These options define what messages should be routed to this connection. The Routing options are common to SMPP, GSM Modem, UCP/EMI and HTTP connections, and are described in the Routing Options section.
When the “OK” button is selected, the gateway will attempt to connect to the SMPP server to verify the configuration information provided. Diagnostic information will be displayed if the connection fails. The connection will only be added to the configuration after a successful connection to the SMPP server.
Many SMPP SMSC providers will also tell you to that you need to configure certain additional parameters in your SMPP software. You might be told to specify particular Source TON, Source NPI, Destination TON or Destination NPI values.
The Now SMS/MMS Gateway uses intelligent defaults for the TON and NPI values which are sufficient for 99.9% of SMPP connections.
The Source TON and NPI are settings that apply to the sender address that is associated with messages that are submitted by the Now SMS/MMS Gateway to the SMSC. NowSMS automatically sets the Source TON to “1” if the sender address is in international format (starts with a “+” character). If the sender address is not in international format, NowSMS automatically sets the Source TON to “0”. In both cases, the Source NPI is set to “1”. If the sender address is contains alphabetic characters and is not a valid phone number, the Source TON is set to “5”, and the Source NPI is set to “0”.
The Destination TON and NPI are settings that apply to the recipient addresses for messages that are submitted by the Now SMS/MMS Gateway to the SMSC. NowSMS automatically sets the Source TON to “1” if the sender address is in international format (starts with a “+” character). If the sender address is not in international format, NowSMS automatically sets the Source TON to “0”. In both cases, the Source NPI is set to “1”.
If it is necessary to adjust these TON and NPI settings, they can be adjusted via configuration settings in the SMSGW.INI file. Create or modify a section of the SMSGW.INI file with a [SMPP] section header, and the following settings are supported under this header:
SourceTON=
SourceNPI=
DestTON=
DestNPI=
If a TON or NPI value is explicitly set in the SMSGW.INI file, this value will be used in place of the automatic determination described above.