Re: Incorrect Date/Time Bug?

Gaby Vanhegan <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <B9BDCC5E.2AC8%[email protected]>
>> I've run out of ideas on this one.  Do I need to set the clock on the TC35?
>> Is there a patch to fix this in the current version?
> 
> This is an SMSC problem. the time stamp generated by Kannel is extracted from
> the SMSC generated timestamp in the received message, so if your time stamp is
> incorrect then the clock on the real SMSC in your provider's network is
> misconfigured.

I'm not entirely sure it's an SMSC issue.  I have sent messages from the
kannel GSM device to my mobile and between mobiles on the same network and
where I can view the sms date information it appears correct.  Over the same
network:

Kannel -> mobile = correct date
Mobile -> mobile = correct date
Mobile -> kannel = incorrect dat

I may have to try contacting the service provider to confirm that it's not
their system.

>> Also, I'd like to directly store all incoming messages on any SMSC into a
>> MySQL database.
> 
> There's no patch or module to handle that internally with in Kannel, but that
> is no surprise as this is out of scope for the SMS gateway - this is
> application logic.

I would have had this down as more of a logging service.  As opposed to
specifying a logfile in kannel.conf it would be nice to specify a database
connection instead and have all SMS traffic logged to a database instead.
Has anyone created anything similar?

>> Currently it calls an exec command on the default sms-service which executes
>> a script, passing the relevant parameters to it.  However this is still
>> subject to the date bug.
>> 
> An executable might do it too. since timestamps using the AT2 module are
> undependable, you may want to simply store the time the message arrived on
> your system.

The executable works fine as there are other things that I need to do on
receipt of a text message.  However, I'm aware that the time at which a
message is received may not be the actual time at which it was submitted to
the SMSC.

> Also - I am registered to the users list, but have not seen your original
> question.

My error.  I registered as [email protected] but my outbound
emails go from [email protected].

Gaby

-- 
Gaby Vanhegan, Web Developer
[email protected]
----------------------------------------------------------
MediaWorks
Telephone +44(0)113 234 5600   Fax +44(0)113 234 5601
http://www.mediaworksccl.com/

This e-mail contains information that is confidential and may be
Legally privileged. If this e-mail has been addressed to you in
error and you are not the person intended or authorized to receive
it or a copy of it, please notify the sender as soon as possible.
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.