2014-04-08 11:29 GMT+04:00 Dorin <dorinafte...@mail.ru>: > I called SMSC support they have such time. > I have read SMPP documentation there expects absolute and relative time > format "YYMMDDhhmmsstnnp" > I write validity parameter like it's write in the documentation *" ...it > should only try to send the message for this many minutes..."* > validity = 5; (I mean sqlbox parameter that's written in send_sms table) > then I try smpp absolute format to send: > validity = 140408123011000 > and relative format: > validity = 000000000500000 > As result, all time I get +30, +40 years later. > I think there you have bugs. > > some suspicions > In code you use time stamp, but year 14 in timestamp is 1914 and not 2014. >
Post detailed bugreport on http://redmine.kannel.org with logs included and version of the kannel you've used. Or send bugreport to de...@kannel.org. > > On 2 aprilie 2014 19:41, Milan P. Stanic wrote: > > On Wed, 2014-04-02 at 19:01, dorin wrote: > > I would appreciate any help or maybe some ideas. > Or my problem is unsolvable? > > On 2014-03-31 18:16, dorin wrote: > > Hello all! > I want to configure SMS validity under sqlbox. As I read in documentation > I must set parameter "validity" with desired minutes. > in my case I have "validity = 5" > but on the SMSC arives 1032139564 minutes insted of 5. > > what I missed? > > It is absolute time in UTC, IIRC. > Read the specification about SMPP and Kannel documentation. > > > >