Hello,

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
possible from SMPP V3.4
The 'R' value defines a relative validity date. It means you don't care
anymore about server's timezones, 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 have a patch for relative validity, but which replaces the
actual "full date" behaviour. I guess it breaks compatibility with older
SMPP gateways.


Thanks for your advice.
- 
Hervé Nicol

PS: I don't know wether this message should be addressed to devel or
users list. My feeling is that it is enough code and protocol oriented
to ask the developers advice instead of the end-users.



Reply via email to