7.9.1.1
SMS by HTTP POST/GET
It is possible to read and send SMS by using valid HTTP POST/GET syntax. Use web browser or any other
compatible software to submit HTTP POST/GET string to router. Router must be connected to GSM network when using
“SMS send” feature.
Action
POST/GET url e.g.
1. View mobile
messages list
/cgi-bin/sms_list?username=admin&password=admin01
2. Read mobile
message
/cgi-bin/sms_read?username=admin&password=admin01&37060000001
3. Send mobile
messages
/cgi-
bin/sms_send?username=admin&password=admin01&37060000001&text=testmessag
e
4. View mobile
messages
total
/cgi-bin/sms_total?username=admin&password=admin01
5. Delete mobile
message
/cgi-bin/sms_delete?username=admin&password=admin01&37060000001
7.9.1.2
Syntax of HTTP POST/GET string
HTTP POST/GET string
Explanation
http://{IP_ADDRESS} /cgi-bin/sms_read?number={MESSAGE_INDEX}
Read message
/cgi-bin/sms_send?number={PHONE_NUMBER}&text={MESSAGE_TEXT}
Send message
/cgi-bin/sms_delete?number={MESSAGE_INDEX}
Delete message
/cgi-bin/sms_list?
List all messages
/cgi-bin/sms_ total?
Number of
messages in
memory
Note: parameters of HTTP POST/GET string are in capital letters inside curly brackets. Curly brackets (“{ }”) are not
needed when submitting HTTP POST/GET string.
7.9.1.3
Parameters of HTTP POST/GET string
Parameter
Explanation
1. IP_ADDRESS
IP address of your router
2. MESSAGE_INDEX
SMS index in memory
3. PHONE_NUMBER
Phone number of the message receiver.
Note: 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 phone number)
4. MESSAGE_TEXT
Text of SMS. Note: Maximum number of characters per SMS is 160. You cannot send
longer messages. It is suggested to use alphanumeric characters only.
After every executed command router will respond with return status.
7.9.1.4
Possible responses after command execution
Response
Explanation
1. OK
Command executed successfully
106
Содержание RUT900
Страница 1: ...1 USER MANUAL RUT900 3G Router ...
Страница 7: ...10 3 Bootloader s WebUI 139 11 Glossary 140 7 ...
Страница 9: ...Device connection 9 ...
Страница 11: ... Storage humidity 5 to 95 Non condensing 1 5 Applications 11 ...
Страница 28: ...5 3 1 10 Topology Network scanner allowing you to quickly retrieve information about network devices 28 ...
Страница 84: ...There can be multiple server client instances 84 ...
Страница 108: ...7 9 3 Scheduled Messages Scheduled messages allows to periodically send mobile messages to specified number 108 ...
Страница 120: ...7 11 4 2 Template In this page you can review landing page template HTML code and modify it 120 ...