Andreas Fink wrote:
>
> I think your whole approach is wrong. You should do this kind of
> thing in a separate application. You then can link this separate
> application to gwlib and use gwlib's HTTP library function to deliver
> your messages from the database on to kannel. This will make your
> code much more portable, you dont have to mess with all the internals
> of Msg * and your code works with multiple SMSC types.
Andreas is right here. We try to avoid muggling external APIs into
Kannel as much as possible. For some reasons it's necessary as
permanent storage backend, like DLRs.
But for batched SMS transmission out of a database you should use an
external component that queries your db and talks HTTP to Kannel's
interface in this way:
Kannel's HTTP SQL queries
HTTP interface <--------> Your application <------------->
RDBMS
(smsbox) (maybe PHP or Perl)
Stipe
[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG
M�nsterstr. 248
40470 D�sseldorf
Tel: +49-211-74845-0
Fax: +49-211-74845-299
E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are