File: gorizont-rt.sms

package info (click to toggle)
smssend 3.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,232 kB
  • ctags: 114
  • sloc: sh: 11,314; ansic: 2,368; perl: 104; makefile: 58
file content (31 lines) | stat: -rw-r--r-- 947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#
# SMSSend application page: http://zekiller.skytech.org
#
# Script for Gorizont-RT SMSC (Yakutsk, Russia)
# Written by Albert Indeev (IndeevAB@gov.sakha.ru)
# Version 0.01
# Error codes :
#  1 -> Bad input phone number
#  2 -> Error sending message
#

NbParams 2
%Tel : The number should be seven-digital with prefix 79025 (For example 79025xxxxxxx)
%Message Size=160 Convert : Your message

# Logging on gorizont-rt.ru
GetURL http://www.gorizont-rt.ru/sms.htm
GO

# Sending SMS message
PostURL http://www.gorizont-rt.ru/cgi-bin/smsgate.exe/submit
PostData txtAddr=\%Tel%&txtSM=\%Message%

# Raise errors
Search This short message entity address are not handled by this SMSC
ErrorMsg 1 This short message entity address are not handled by this SMSC
ElseSearch Sorry! Now SMS-gate is busy. Try again later.
ErrorMsg 2 Sorry! Now SMS-gate is busy. Try again later.
Else
PrintMsg Message successfully sent to SMSC
GO