Dear Kannel users,

I use this sms-service to accept SMS from GSM Modem (motorola ROKR phone):

group = sms-service
#keyword = default
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = 
"http://localhost/~xxx/xxx/sms/receiveSMS.php?phone=%p&text=%a&time=%t";
#text = "default sms service no url"

The PHP script simply get the three strings and store them into db table.

We are at GMT+8 zone.  My linux system and the phone are both set with local 
time and GMT+8 zone.  When I receive a sms, the timestamp read on the phone is 
normal local time, for example 4:53pm, but for the same message, the time stamp 
stored in database table is 08:53.  

Since the phone think the time is 4:53pm, which is correct, and the db table 
store a value of 08:53, I assume kannel has altered the timestamp to GMT.  But 
I can't find in UM a clause to set timezone.  

Can someone please help?

Helen



      

Reply via email to