Am 08.07.2009 um 12:28 schrieb Latitude Berlin:

I sent an SMS with validityperiod set to 1 minute and I see the following in the log:

DEBUG: validity_period: "0907080957180000+"

How 1 minute got converted into this?

You probably have sent the message at 09/07/08 09:56:18

What if KanelServer date/time is not up-to-date?

Then you should use an NTP server like the rest of the world ;-)

Regards
Falko


Cheers

On Wed, Jul 8, 2009 at 12:20 PM, Latitude Berlin <latitude...@googlemail.com > wrote:
Hi,

I am using SMPP with Kannel to send out SMS messages and I specify validity period in minutes.

My question: how kannel handles the validity period. What if KanelServer date/time is not up-to-date.

Thanks.


2009/6/26 Nikos Balkanas <nbalka...@gmail.com>

Hi,

Actually, it depends. It is minutes for SMPP. For GSM modems it is more complex:

Encoded as per the GSM 03.40 standard, section 9.2.3.12:
validity <= 143              (validity + 1)*5 min
143 < validity <=167     (validity – 143)/2 + 12 hrs
167 < validity <= 196    (validity – 166) days
196 < validity                 (validity – 192) weeks
Default is 167 (24 hrs).

BR,
Nikos
----- Original Message -----
From: Elton Hoxha
To: Latitude Berlin
Cc: users
Sent: Friday, June 26, 2009 11:10 AM
Subject: Re: validity period of sms messages

In minutes

On Fri, Jun 26, 2009 at 10:00 AM, Latitude Berlin <latitude...@googlemail.com > wrote:
Hi,

Valitidy period of SMS message in the HTTP send request (...&validity=) should be specified as milli sec or sec?

For example:
For validity period of 10 minutes, I will try ...&validity=10*60*1000

Thanks.




Reply via email to