Validity Period

Validity Period SearchSearch
Author Message
Nuno Souto
New member
Username: Nsouto

Post Number: 5
Registered: 08-2005
Posted on Friday, August 12, 2005 - 04:44 pm:   

Hello,

Regarding the Validity Period of messages, I saw at another post (http://support.nowsms.com/discus/messages/1/3271.html):

""Validity period" is currently only supported when sending via GSM modems. There is a paramter Validity= that can be specified when submitting a message via HTTP. Valid settings for this parameter are ##D, ##H or ##M, specifying a number of days (D), hours (H) or minutes (M) for the validity period."

"(There is also a validity period setting that can be specified in the SMPP environment on a global basis to override default settings of the SMSC. Information on this setting can be found at the following link: http://support.nowsms.com/discus/messages/1/178.html)"

But this post is from March 2004 Is this still true ? can the validity period only be set when the message is sent using a GSM Modem, or does it work as well when the message is routed using a SMSC SMPP conection ?

What about when the message is submited to NowSMS via SMPP, what happens to the "validity_period=". Is it translated to the modem or hopefully to the SMSC SMPP server as well ?

Another question is when setting the Validity= in the HTTP request, it says ##D, ##H or ##M does this translate to setting it to either 03D (3Days), 72H (72 Hours) or 4320M (4320 Minutes), they all tranlate to the same so I could easily do this:

Validity=03D
or
Validity=72H
or
Validity=4320M

Or would I need to set it in this format:

Validity = ##D##H##M
Validity=03D00H00M or Validity=030000

One more thing, I have been trying to pass on the validity period, through SMPP and using SMPPSim to test the connection but SMPPSim always complains about missing validity_period, even if I have the global validity period set as per the example on the second thread.

Thanks
Nuno Souto
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4766
Registered: 10-2002
Posted on Tuesday, August 16, 2005 - 02:03 pm:   

Hi Nuno,

That information should still be true.

"Validity=" on an HTTP request will only get routed via GSM modem connection. (It is on our todo list to also convert this setting to SMPP, but we have not implemented this yet.)

Regarding the SMPP specific setting that can be applied globally ... hmm ... that is still supported, but that thread refers to an SMSGW.INI setting of "ExpiresHeader", and it should be "ValidityPeriod".

-bn