Re: SMPP validity dates and time difference

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

kannel will send validity in utc therefore 00+ is hardcoded.

Thanks,
Alex

Am 06.04.2009 um 16:12 schrieb Hervé Nicol:

> Hello,
>
> I already sent this messages to the "users" mailing list, but I guess
> that was not the right place for such some protocol oriented thoughts.
>
>
>
> SMPP validity dates is specified following this time format:
>
> “YYMMDDhhmmsstnnp”, where:
>
> * ‘nn’ is the Time difference in quarter hours between local time (as
> expressed in the first 13 bytes) and UTC (Universal Time Constant)  
> time
> (00-48).
>
> * 'p' is '+' or '-' depending if local time is retarded or advanced in
> relation to UTC time.
>
>
>
> It seems to me that these parameters are hard coded to "00+" in  
> Kannel.
> Wouldn't it be nice if we could set them from the config file?
>
>
>
>
> On top of that, I've seen the 'R' value as 'p' parameter. I think it's
> a feature starting from SMPP V3.4
> The 'R' value defines a relative validity date. It means you don't  
> care
> anymore about server's timezones or the different servers time offset,
> but just define the how long you want your SMS to be valid.
> For instance, “000000000500000R”, means "5 minutes validity from when
> the SMSC receives the message".
>
> What do you think of this possibility?
>
>
> I currently use relative validity, but our patch replaces the actual
> "full date" behaviour. I guess it breaks compatibility with older SMPP
> gateways.
>
>
> Thanks for your advice.
> -
> Hervé Nicol
>
>
>
>
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.