Difference between revisions of "RUT850 SMS Gateway"

From Teltonika Networks Wiki
Line 73: Line 73:
 
{| class="wikitable"
 
{| class="wikitable"
 
|+
 
|+
! style="width: 250px; background: black; color: white;" | Field name
+
! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | FIELD NAME
! style="width: 250px; background: black; color: white;" | Value
+
! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | VALUE
! style="width: 1200px; background: black; color: white;" | Description
+
! style="width: 579px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | DESCRIPTION
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | Enable
+
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Enable
| style="text-align: left; vertical-align: top;" | yes {{!}} no; Default: '''no'''
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''no'''
| style="text-align: left; vertical-align: top;" | Toggles the rule ON or OFF
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Toggles the rule ON or OFF
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | Recipient's phone number
+
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Recipient's phone number
| style="text-align: left; vertical-align: top;" | phone number; Default: " "
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | phone number; Default: " "
| style="text-align: left; vertical-align: top;" | Phone number that will receive the scheduled messages
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Phone number that will receive the scheduled messages
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | Message text
+
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Message text
| style="text-align: left; vertical-align: top;" | string; Default: " "
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | string; Default: " "
| style="text-align: left; vertical-align: top;" | The message that will be sent
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | The message that will be sent
 
|-
 
|-
! style="text-align: left; vertical-align: top;" | Message sending interval
+
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Message sending interval
| style="text-align: left; vertical-align: top;" | time; Default: '''Day, hour 1, minute 1'''
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | time; Default: '''Day, hour 1, minute 1'''
| style="text-align: left; vertical-align: top;" | The frequency at which scheduled messages will be sent
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | The frequency at which scheduled messages will be sent
 
|-
 
|-
 
|}
 
|}

Revision as of 10:03, 26 October 2018

Main Page > RUT Routers > RUT850 > RUT850 Manual > RUT850 WebUI > RUT850 Services section > RUT850 SMS Gateway

Summary

This chapter is a summary of the SMS Gateway function of RUT routers.

Post/Get Configuration

Post/Get Configuration allows you to perform action requests by writing them in the URL after your device’s IP address.

Services sms gateway postget.PNG

FIELD NAME VALUE DESCRIPTION
Enable* yes | no; Default: no Toggles Post/Get ON or OFF
Username string; Default: " " User name used for authorization
Password string; Default: " " Password used for authorization

*Do not forget to change parameters in the URL according to your POST/GET Configuration!

SMS by HTTP POST/GET


It is possible to read and send SMS messages by using a valid HTTP POST/GET syntax. Use a web browser or any other compatible software to submit HTTP POST/GET strings to the router. The router must be connected to a GSM network when using the Send SMS feature.

ACTION POST/GET URL EXAMPLE
View mobile messages list http://youripaddress/cgi-bin/sms_list?username=admin&password=admin01
Read mobile message http://youripaddress/cgi-bin/sms_read?username=admin&password=admin01&number=1
Send mobile message http://youripaddress/cgi-bin/sms_send?username=admin&password=admin01&number=0037060000001&text=testmessage
View mobile messages total http://youripaddress/cgi-bin/sms_total?username=admin&password=admin01
Delete mobile message http://youripaddress/cgi-bin/sms_delete?username=admin&password=admin01&number=1

youripaddress - router's LAN IP address; username - router's login admin user name; password - router's login password; number - SMS message index number or recipient's phone number (phone number must contain country code. Phone number format is: 00{COUNTRY_CODE} {RECEIVER_NUMBER}, e.g., 0037062312345 (370 is country code and 62312345 is receiver's phone number)); text - SMS message text

Scheduled SMS

Scheduled SMS allows you to periodically send automated SMS messages to a specified number. Scheduled messages are managed in rule form, i.e., similar to SMS Utilities. Therefore, to configure a new Scheduled Message, we must first create a rule. To create a new rule, type in a phone number in the Phone number field located in the Scheduled Messages Configuration section and press the Add button located next to it.

After this you will be redirected to the Scheduled Messages Configuration window.

Scheduled Messages Configuration


Apart from the phone number, the new rule will be disabled and unconfigured. This section is an overview Scheduled Messages Confiugration. To configure your rule, simply click the Edit button located next to it.

Services sms gateway scheduled.PNG

FIELD NAME VALUE DESCRIPTION
Enable yes | no; Default: no Toggles the rule ON or OFF
Recipient's phone number phone number; Default: " " Phone number that will receive the scheduled messages
Message text string; Default: " " The message that will be sent
Message sending interval time; Default: Day, hour 1, minute 1 The frequency at which scheduled messages will be sent

Auto Reply

Auto reply allows you to configure automatic replying to SMS messages that the router receives from everyone or from listed numbers only.

Services sms gateway auto reply.PNG

Field name Value Description
Enable yes | no; Default: no Toggles Auto Reply ON or OFF
Reply SMS Utilities rules yes | no; Default: no If enabled, the router will auto reply even SMS Utilieties rules
Don't save received messages yes | no; Default: no If enabled, the router will delete received SMS messages
Mode Everyone | From listed number only; Default: Everyone Specifies whether to auto reply to every phone number or just just specified phone numbers
Message text string; Default: " " The message that will be sent in reply
Recipient's phone number phone number; Default: " " Phone number(s) that will qualify for Auto Reply. To add more numbers, click the Services sms gateway auto reply plus symbol.PNG symbol. This field only becomes visible if the chosen Mode is From listed numbers only