Functions
MLR 3G 2.0
10.9.2
Enable SMS Receipt
The MLR 3G 2.0 can receive SMS and evaluate the content. Different commands can be
transmitted to the MLR 3G 2.0 with this, also password-protected. Received SMS can op-
tionally be acknowledged. A new SMS with the received text will be sent back to the
sender in this case.
The commands must be sent in the format
[<password>, ]<command>
.
We strongly recommend to use password protection.
If a password is configured, the SMS must contain first the password and then, separated
by a comma, the command; otherwise, the SMS will not be processed. Conversely, the
SMS must not contain a password, if this is not configured. The password is case-
sensitive. Blanks outside the password will be ignored. Several commands in one SMS
will not be supported; only the first command would be executed. The commands are
not case-sensitive. The following commands are processed:
Command
Effect
dial
A dial-out connection will be started or an existing dial-out connection
would be restarted.
openvpn
The OpenVPN connection will be restarted. An existing tunnel will be
terminated with this.
ipsec
The IPsec connection will be restarted. All existing tunnels will be ter-
minated with this.
pptp
The PPTP connection will be restarted. All existing tunnels will be ter-
minated with this.
reset
The device will be restarted.
sandbox
The sandbox will be restarted.
serial
The Serial Ethernet Gateway initiates an outgoing connection.
update
An automatic update will be performed.
Table 13: List of SMS commands
SMS messages that do not comply with this syntax, can optionally be forwarded to the
sandbox. The subdirectory "/var/spool/sms_in" must exist in the sandbox image for this.
The SMS will be filed with a random file name in it. The first line of the file contains the
phone number of the sender; the further lines contain the SMS text. If a password is con-
figured, incoming SMS are forwarded to the sandbox in the following way: If an SMS text
contains a valid password, the password and the following comma will be removed from
the forwarded text. A text with invalid or missing password will be forwarded as it is.
Configuration with the web interface
In order to
enable SMS receipt
, check in the menu "Messages" on the page
"Configuration" the checkbox "Activate reception of SMS".
In order to configure the MLR 3G 2.0 for
acknowledgement of an SMS receipt
,
check the checkbox "Acknowledge incoming SMS". Then, EVERY received SMS
will be acknowledged with a reply SMS, not only SMS for executing com-
mands.
70