[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SMS mass sending

From: Pawel Kot
Subject: Re: SMS mass sending
Date: Thu, 4 Dec 2003 17:18:14 +0100 (CET)

On Thu, 4 Dec 2003, Martins wrote:

> Not so big traffic :)
> In some cases the air interface is far more reliable than direct
> connection to SMSC...

Okay then. It is possible for me to send about 1 SMS per 2/3 seconds. Just
don't send them in gnokii --sendsms loop. Every gnokii invocation involves
estabilishing and closing the connection. Avoiding this allows you to
achieve the results I got.

There are two simple ways to do it:
1. Use SMSD
2. Hack gnokii sources to
 - not initialize when an arbitrary command line option is given
 - not initialize when there's already connection (eg. communicate to the
phone and see whether it succeeds) and don't close the connection at the
end; when sending the multiple sms you will get an average speedup --
slowdown just on the first sms
 - move initialization and closing to the separate gnokii commands so the
usual command like --sendsms does not invoke init() and close() and then
just run:
        gnokii --initialize
        gnokii --sendsms ...
        gnokii --sendsms ...
        gnokii --sendsms ...
        gnokii --closeconnection

It shouldn't be that hard, but SMSD seems to be the easiest solution.

mailto:address@hidden :: mailto:address@hidden :: Kernel Traffic po polsku

reply via email to

[Prev in Thread] Current Thread [Next in Thread]