File: totalise.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 (37 lines) | stat: -rw-r--r-- 1,185 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
32
33
34
35
36
37
## SkySMS provider file - sms.totalise.net ##
# Version 1.06
# by Ze KiLleR <zekiller@-REMOVE-skytech.org>
# Error codes :
#  1 -> Bad Login/Password
#  2 -> Internal Server Error - probably overloading
#  3 -> Messages to this country not allowed

NbParams 5
%Login : Your login from totalise.net
%Password Hidden : Your password
%CountryCode : Country code WITHOUT the '+' (For example 33 for France)
%Tel : Gsm number of recipient WITHOUT the leading 0
%Message Size=131 Convert : Your message

# login on totalise.net
GetURL http://sms.totalise.net
GO
PostURL http://sms.totalise.net/login.asp
Referer http://sms.totalise.net/login.asp
PostData username=\%Login%&password=\%Password%&action=login
Search LOGIN FAILED
ErrorMsg 1 Bad login and/or password
ElseSearch Internal Server Error
ErrorMsg 2 Internal Server Error
GO

# Sending message
PostURL \%RTFormAction-4-0%
PostData AREA=\%CountryCode%&tnumber=\%Tel%&email=&snumber=&message=\%Message%

Search Messages to this country not allowed
ErrorMsg 3 Messages to this country not allowed
# We currently don't know if there is an error sending the sms
Else
PrintMsg Message successfully sent
GO