Wrong Date header timestamp in rx MMS msg from NowMMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through June 06, 2005 ⬆ |
◄ ► |
Author | Message | ||||
Eddy Kvetny New member Username: Eddyk Post Number: 11 Registered: 11-2004 |
Hi, It looks like upon retrieving an MMS message from NowSMS MMSC I get the wrong timestamp. It is expected to be a number of seconds from 00:00 01/01/1970 GMT but as I see in the incoming message it is actually GMT-2. The NowSMS runs on the PC with correct time and configured local time zone (GMT+2). Look at the attached NowWAP log. The timestamp in the Date Header MMS is 0x41b82758 which is "Dec 9, 2004 10:22:16" when the expected GMT time is "Dec 9, 2004 12:22:16" (see the current time in the log and take into account the local time zone GMT+2) Attached please find the NowWAP and NowMMS logs. I would appreciate any help on this issue Best regards, Eddy
| ||||
Dono Unregistered guest |
Eddy, As I remember correctly, MMSC doesn't set any date field on the MMSE type of message. It was set when sender sent out the message to MMSC and should be set correctly according to either local or GMT. How did you send the message to MMSC, thru nowsms web interface or other application on the phone? | ||||
Eddy Kvetny New member Username: Eddyk Post Number: 12 Registered: 11-2004 |
Dono, 1. Date MMS Header is always in GMT format 2. The Date header is an optional field for M-Send.req PDU and if it is not provided by the sending MMS client, the MMSC SHALL insert the time of arrival of the the M-Send.req PDU at the MMSC. For the M-Retrieve.conf PDU the Date Header is a mandatory header 3. I tried sending an MMS message both via the NowSMS web interface and from my own MMS client. In both cases, no data information has been provided and the NowSMS MMSC is expected to use it own timestamp (in GMT format) | ||||
Eddy Kvetny New member Username: Eddyk Post Number: 13 Registered: 11-2004 |
Bryce, Could you please give any advise in this regard ? Thanks in advance Regards, Eddy | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3815 Registered: 10-2002 |
Just to post a follow-up ... Eddy and I have discussed this via e-mail. And I've probably frustrated him to no end, because I just didn't understand what he was trying to explain. But he's right. When the MMSC inserts a date header into a message, it is overcompensating for the GMT adjustment. If your current time zone is GMT+2, we'll convert the time to GMT-2 instead of GMT. If your current time zone is GMT-2, we'll convert the time to GMT+2 instead of GMT. A fix is included in the update at http://www.nowsms.com/download/20041230.zip. -bn |