The
SMS Gateways table contains connection settings for all gateways used in your system.
There can be 2 types of gateways which differ in a connection mode on our side:
- Client - we are a Client and create a connection to a partner GW.
- Server - we are a Server and wait for a connection from a partner GW.
Depending on the connection mode, the system takes into account the corresponding network parameters for a gateway. The system disables unnecessary fields when you choose one of the modes. If the connect mode is
Server, then only the parameters ended with
Server are considered.
Own IP:port we're Server is chosen from the
Drop-down table linked to the child table
Switch IPs containing a list of own SMS switch IP:port:protocol records to accept incoming connections from partners. The protocol are
smpp or
http, the latter is used for receiving SMSes over
HTTP API. You can add/edit/remove records right in the drop-down table.
If the connect mode is
Client, then the parameters ended with
Client are used. The
Transc. mode parameter is also applicable only if we are Client and allows to enable/disable initiation of a transceiver mode for binding.
Username and
Password are used in both modes: to login to a partner GW if we are a Client, or to authorize a partner GW if we are a Server.
You can use the
C button on the top menu or right-click a table header to display some additional parameters. For instance, the
Client protocol column allows you to select what protocol to use for SMS sending if we are a Client,
smpp or
http. If you need
http, then you have to fill up the
HTTP URI we're Client field (please see
HTTP API).
You may execute some translations on the gateways level:
- IN SRC/DST number translation - regexp for SRC/DST number translation BEFORE routing, translated part goes after "/", groups are "\\1", "\\2", etc., for example: 123(.*)0(.*)/456\\1\\2.
- OUT SRC/DST number translation - regexp for SRC/DST number translation AFTER routing, translated part goes after "/", groups are "\\1", "\\2", etc., for example: 123(.*)0(.*)/456\\1\\2.
- IN + trans. - whether to translate + sign in front of numbers into ToN=International on incoming SMSes.
- OUT + trans. - whether to translate ToN=International into + sign in front of numbers on outgoing SMSes.
If you need to limit incoming or outgoing SMSes on a GW, there are special TPS parameters:
Cust. TPS and
Vend. TPS. TPS - maximum SMSes throughput per second. It is calculated on the basis of EMA (Exponential Moving Average) similar to
EMA used in the VoIP statistics module. But instead of the adaptive
EMA window the
SMS Switch uses explicitly specified
Cust./Vend. TPS time - a scale of the EMA smoothing in seconds. The more TPS time, the slower EMA value growth, and the slower reaction of the system to SMSes exceeding. Actually, the system allows exceeding of the configured
TPS for time less than the specified
TPS time. By default,
Cust./Vend. TPS time is 10 sec.
Force DLR request forces an SMSC DLR request even if an incoming SMS doesn't require it.
There is a group of special
Bind parameters (like
Client system type,
Server system id, and so on). They allow you to tune some settings for binding with a partner GW. Parameters starting with
Client or
Server, are meant only for the
Client or
Server modes. Otherwise, a
Bind parameter works for both modes. You can find a detailed description in the
Bind parameters section.
You have a possibility to assign a dedicated routing instance to a gateway via the
Routing field. It is linked to the
Routing servers table where all available routing instances are stored. In this case all messages from the GW will be routed by a chosen routing instance.