home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Spezial
/
SPEZIAL2_97.zip
/
SPEZIAL2_97.iso
/
ANWEND
/
ONLINE
/
SENDSMS
/
readme.txt
< prev
next >
Wrap
Text File
|
1997-09-11
|
12KB
|
351 lines
Description of SendSMS
======================
Licence
-------
This program is shareware. Every user has to aggree to the following licence-conditions:
1. This program may only be distributed in this package.
2. All rights for commercial-use will belong to the author.
3. For a periode of 20 days you may use the program free. To use this software
after this periode of 20 days you have to register SendSMS.
If you doesn't register SendSMS you are not allowed to continue using
the software.
4. To register please fill out the form (order.txt) and send it together with
a corresponding cheque to the following address:
Wolfgang B÷cherer
Im Grⁿn 9
D-76316 Malsch
Tel.: +49 (0)7246/942484
Fax.: +49 (0)7246/942485
EMail: wobo@bai.de
WWW: http://www.bai.de
The fee for one licence (installation on one computer) is:
private use 50,-- DM
commercial use 200,-- DM
(transfers from foreign countrys plus 20,-- DM)
All prices plus 15% tax.
(please ask for multiple licences)
A T T E N T I O N!!! For registering it is important to specify your
operating-system and your phonenumber.
5. After I have got the money I will send you a registration-key
with which you are allowed to use SendSMS on one computer. It is forbitten
to distribute this registration-key.
6. The use of SendSMS will result on your own risk. I am not responsible for
any damage (for example your phonebill) through the use of SendSMS (neighter
damage through errors nor through wrong usage).
------------------------------------------------------------------------------
SendSMS is a shareware-program to send ShortMessages (SMS) to
GSM-phones or pagers via the protocols TAP or UCP. In Germany
sind dies z.B. Telephone mit D1-, D2- oder EPlus-Karte oder verschiedene Pager
(Quix, TeLMI, CityRuf, Scall, Skyper, ...).
SendSMS has the following topics:
- UCP- and TAP-Protocol (ex.: D1, D2, EPlus, Quix, TeLMI, CityRuf, Scall, Skyper)
- completly configurable for providers which use TAP or UCP
- message can be specified on the commandline (batch-processing)
- phonebook: insted of numbers you can use aliases (*)
- sending messages to multiple reciptients through different providers (*)
- event-logging (Logfile) or logging through syslogd (*)
- configurable redialing (*)
- configurable delay between dial-attempts
- modem will not be locked bewteen dial-attempts
- configurable for the most common modems
- available on many operating-systems
- definiton of header- and/or footer-line
Topics which are marked with (*) are only available in the registered version.
------------------------------------------------------------------------------
Installation
------------
You have only to decompress the ZIP-file (alternativly the tar.Z-file) in any
directory. After that this directory should contain at least the following files:
readme.txt - this file
sendsms[.exe] - program-file
sendsms.cfg - configuration-file
sendsms.err - error-messages
sendsms.pro - definition of providers
sendsms.pbk - phonebook
(the OS/2-version needs the EMX-runtime-environment
http://www.leo.org/pub/comp/os/os2/leo/index.html)
(the DOS-version needs a Fossil-driver,
for Example adf.exe http://www.digsys.se)
------------------------------------------------------------------------------
Configuration
-------------
To configure SendSMS, edit the file sendsms.cfg.
In the file sendsms.pro you can define the different providers (which provider uses
TAP or UCP, which phonenumbers are to be used for them and what is the predial-code
for them).
Your personal phonebook with aliases can be defined in the file sendsms.pbk.
Comments are always prefixed by ';' or '#'.
------------------------------------------------------------------------------
sendsms.cfg
-----------
In this file you can specify the following keywords to configure SendSMS.
Every keyword has to be entered in an own line (to try SendSMS, it is normaly enough to
edit MODEMINIT, MODEMDIAL and MODEMDEVICE in the including file). Please check your
modem-description (if you have one) for the corresponding modem-commands.
MODEMINIT=ATL1E1Q0V1
Specifies the initialisation-commands for your modem. SendSMS will always send ATZ
to the modem before this command. You have to set your modem to:
echo on
answer on
answer as text
MODEMHANGUP=ATH
Specifies the comman to hang up.
MODEMDIAL=ATDT0w
Specifies the command to dial a number.
MODEMDEVICE=COM1
Specifies the device to which your modem is connected.
(Attention: on unix you have to take notice that you are allowed to use the device)
MODEMESCAPE=+++
Specifies the escapesequence to switch the modem from data- to command-modus
WAITAFTERWRITE=1
Specifies the count of seconds to wait after writing to the modem
(normaly 0)
BAUD=1200
Specifies the baudrate (300, 600, 1200, 2400, 4800 or 9600)
DATABITS=8
Specifies the count of databits (7 or 8)
STOPBITS=1
Specifies the count of stopbits (1 or 2)
PARITY=NONE
Specifies the kind of parity (NONE, EVEN or ODD)
TIMEOUT=40
Specifies the time (in seconds) to wait for the CONNECT-Message.
LOCKDIR=/var/spool/uucp
Specifies the directory to look for and to generate a lock-file
(only on unix).
BINLOCKS=0
Specifies whether the lockfile should be binary or ascii.
LOGFILE=sendsms.log
Specifies a file in which all actions will be logged. If you specify
'syslog' (only unix) the logging will be handle via the syslog-daemon.
[only available in the registered version]
HEADER=
Specifies an optional headerline (text which will preceed every message)
[only available in the registered version]
FOOTER=
Specifies an optional footerline (text which will be appended to every message)
[only available in the registered version]
REDIALCOUNT=1
Specifies the count of redial-attempts
[only available in the registered version]
REDIALDELAY=60
Specifies the count of seconds to wait between two dial-attempts. While this
time the modem will not be locked.
PHONE=
Your own phonenumber, from which the message will be submitted.
MAXERRORS=
Specifies the count of errors (not transmitted messages) to accept until SendSMS
will be terminated. If this parameter isn't set or is 0 the program will not
terminate after an error. This parameter has only sense if you send messages
to multiple reciptients.
sendsms.pro
-----------
In this file you can define different providers (in the unregistered version
a maximum of three providers). For every provider you have to enter a
chapter by entering a line of the form:
[<provider>]
In every chapter you can specify the following parameters:
PHONE=
Specifies the phonenumber of the provider. If the last character of the number
is a '&', this means that the specified number will be appended by the number
of the reciptient.
PROTOCOL=
Specifies the protocol (TAP, UCP, Scall or Skyper) which the provider uses.
PREFIX=
Specifies the predialcode for the corresponding provider. With this prefix
SendSMS tries to identify the provider to which the phonenumber of the
reciptient belongs.
REMOVEPREFIX=
The number of the reciptient will be send together with the corresponding message.
Because for some providers the number has to be send without any prefix you can
specify with this parameter (=1) that the PREFIX (if defined) will be discarded.
MSGTYPE=
Specifies the kind of message: NUMERIC (only digits), ALPHANUMERIC
(characters and digits) or TONE (no characters, only beeping).
MSGLEN=
Specifies the max. length of a message.
for example:
[D1]
PHONE=01712092522
PROTOCOL=TAP
PREFIX=0171
MSGTYPE=ALPHANUMERIC
MSGLEN=160
sendsms.pbk
-----------
In this file you can enter a chapter for every in sendsms.pro
defined provider with aliases. Every chapter starts with
a line of the form:
[<provider>]
Every alias has to be entered in an own line and has to be of the
form:
<alias>=<phone>
The phonenumber has to be entered with the predialcode.
The phonebook is only available in the registered version!!!!
for example:
[D1]
wobo=01714160598 ; Wolfgang B÷cherer
------------------------------------------------------------------------------
Calling syntax
--------------
SendSMS will be executed as follows:
sendsms [options] {phoneNo | alias | @<grpFile>} [{message | < msgFile}]
options are:
-P<provider> specifies the provider for the corresponding phonenumber
-F<msgFile> specifies a filename which contents will be send as the message
-C<cfgFile> specifies the configuration-file (sendsms.cfg)
-R<proFile> specifies the provider-definition-file (sendsms.pro)
-B<pbkFile> specifies the phonebook-file (sendsms.pbk)
Ex.: sendsms 0171xxxxx "I am testing SendSMS"
You have to specify at least one parameter - the phonenumber of the
recipient or an alias (form the phonebook). If this first parameter starts with a
masterspace (@), the parameter specifies the name of a file which contains
multiple phonenumbers. The specified file must have the following format:
[<provider1>]
<number1>
<number2>
<number3>
<alias1>
<alias2>
[<provider2>]
<number4>
Inclosed in brackets ([]) you have to specify a provider (which is defined in
sendsms.pro), followed by multiple lines with phonenumbers of reciptients.
Every line contains one reciptient (number or alias), which belongs to the
corresponding provider and to which the message will be send in one connection.
In the above example the message will be send to 5 reciptients of the first provider
and to one reciptient of the second provider (with 2 connections).
The second parameter is the message, enclodes by ' (ATTENTION: depending on the
shell you are using some characters are substituted by the shell (for example '!')
or you have to enclose the message by " insted of '). Alternativly you
can specify the message by redirecting it from a file (< msgFile) or with the
Parameter -F<msgFile>, where <msgFile> is the name of the file that will be
send (at least the first n characters). If you specify only one parameter
on the commandline (the recipient), the message will be read from the console
until you enter a line only consisting of a single '.'.
If you want to send a message to a provider, which can't be identified by
the predial-code of the reciptients phonenumber you have to specify the
corresponding provider (as defined in sendsms.pro) with the parameter
-P<provider>.
For Example: you want to send a message to a Quix-Pager. SendSMS can't recognize the
provider (Quix), because the number has no predialcode. Thatswhy you have to
specify -PQuix.
------------------------------------------------------------------------------
Where can I get the newest version?
===================================
You can always get the newest version under:
http://www.bai.de/sendsms/sendsms.shtml
------------------------------------------------------------------------------
Problems/Questions
==================
Please send an Email including the following informations
- error-/problemdescription
- hardcopy of the screen (commandline and errormessage)
- your sendsms.cfg
- your sendsms.pro
- used operating-system
- used version of SendSMS
- used modem
to:
wobo@bai.de
------------------------------------------------------------------------------
Wolfgang B÷cherer, Luisenstra▀e 62, D-76137 Karlsruhe
Tel.: +49 (0)721/9374060, Fax.: +49 (0)721/9374061
EMail: wobo@bai.de
WWW: http://www.bai.de