Re: [RFC] changing sms.validity/sms.deferred to unix timestamp

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi,

On Tuesday 01 April 2003 13:16, Dziugas Baltrunas wrote:
> Hi,
>
> does it mean that it would be up to the user's application in order to
> submit _valid_ timestamp?

not really... We can keep old behaviour in smsbox/wapbox (it's our extern
interface), but change this for internally interface smsbox<->bearerbox ...

So all your apps works as expected but internally we will have correct
timestamps...

> so I wish to make message validity 2 days long,
> everytime I have to calculate "future" timestamp, ie. localtime() +
> 2*24*60. shouldn't it be done somehow automatically?

see above... but as example: validity 2 days long, so your send to smsbox
2*24*60 , smsbox send to bearerbox localtime(...) + 2*24*60

> regards,
> Dziugas Baltrunas
>
> On Tue, 1 Apr 2003, Alexander Malysh wrote:
> > Hi list,
> >
> > i would be like to ask, why are validity and deferred in kannel in
> > minutes instead of e.g. unix timestamp. I can see that all driver convert
> > this to unix timestamp like this: gw_localtime(...) + validity*60...
> >
> > Second point is that if message can't be send immediately (e.g. Link was
> > offline) then our validity and deferred values are not correct, because
> > we allways increase our localtime with validity/deferred value.
> >
> > I believe, deferred/validity values must be absolut instead of relativ to
> > sendtime...
> >
> > Should we change validity and deferred values to unix timestamps to avoid
> > unnecessary converting and wrong values?
> >
> > Comments please ...
> >
> > --
> > Best Regards / Mit besten Grüßen aus Köln
> >
> > Dipl.-Ing.
> > Alexander Malysh
> > ___________________________________
> >
> > Centrium GmbH
> > Ehrenstrasse 2
> > 50672 Köln
> >
> > Fon: +49 (0221) 277 49 240
> > Fax: +49 (0221) 277 49 109
> >
> > email: [email protected]
> > web: http://www.centrium.de
> > msn: [email protected]

-- 
Best Regards / Mit besten Grüßen aus Köln

Dipl.-Ing.
Alexander Malysh
___________________________________

Centrium GmbH
Ehrenstrasse 2
50672 Köln

Fon: +49 (0221) 277 49 240
Fax: +49 (0221) 277 49 109

email: [email protected]
web: http://www.centrium.de
msn: [email protected]
smime.p7s (application/pkcs7-signature, 2.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.