Koozali.org: home of the SME Server

SAIL/CLI and time stamp

Offline del

  • *
  • 765
  • +0/-0
SAIL/CLI and time stamp
« on: February 16, 2007, 07:52:22 PM »
Hi All,

I have just attached a handset with caller id to my SAIL/Asterisk box via a SPA2000 and when a call is received the time stamp is GMT :shock: My server's time is EST and my Country ID is set to US in globals :? Any ideas where it could be picking up the time from? Thanks.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL/CLI and time stamp
« Reply #1 on: February 16, 2007, 08:08:36 PM »
Hi Del

Handset time is not picked up from SAIL, they all synch to their own time servers/clocks because SAIL doesn't know where they are (geographically speaking).  The GMT time will likely be coming either from the SPA2K or the handset itself.

Best

Selintra

Offline del

  • *
  • 765
  • +0/-0
SAIL/CLI and time stamp
« Reply #2 on: February 16, 2007, 08:13:33 PM »
Hi Selintra,

Thanks, I was just going to edit this post because I had an idea that the SPA2000 may have it's own settings and indeed it does :oops: It was set to GMT in the regional tab :shock:  Thanks for your input. Everything is fine now.  While I think about it I am running version 339 of the sail rpm, should I upgrade? Is there any benefits? Thanks.

Regards
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline del

  • *
  • 765
  • +0/-0
SAIL/CLI and time stamp
« Reply #3 on: February 16, 2007, 09:09:53 PM »
Hi All,

I spoke too soon :wink:  I can change the time zone to GMT -5 and save the changes, but it then reverts back to GMT :shock:  I log back into the SPA2000 and change it again and it shows it has beeing saved, refresh the page or log in again and again it's back to GMT :?  Any ideas? It couldn't have anything to do with the auto provisioning could it? A look on Linksys' or Sipura's site brings up nothing. Just to correct one thing in my original post it is actually a Sipura not Linksys SPA2000 although I know they are meant to be the same.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
SAIL/CLI and time stamp
« Reply #4 on: February 16, 2007, 10:15:02 PM »
Hi Del,
 
I just had a look at the spa provisioning and your assumption is correct; we do indeed set the timezone to GMT in the provisioning.  Just change it to what you need or remove the time provisioning tuple.  You'll find it in the right-hand provisioning window in extensions.

Kind Regards and apologies for the earlier misleading post.

Selintra

Offline del

  • *
  • 765
  • +0/-0
SAIL/CLI and time stamp
« Reply #5 on: February 17, 2007, 01:18:05 AM »
Hi Selintra,

I have followed your instructions but it still goes back to GMT :shock: I changed this:
Quote
["spa$MAC.cfg"
<flat-profile>
<Proxy_1_> 10.0.0.1
</Proxy_1_>
<Outbound_Proxy_1_> 10.0.0.1
</Outbound_Proxy_1_>
<User_ID_1_> 10.0.0.1
</User_ID_1_>
<Password_1_> 10.0.0.1
</Password_1_>
<Display_Name_1_> Kitchen
</Display_Name_1_>
<Dial_Plan_1_> (*x.|*xx*x.|x.)
</Dial_Plan_1_>
<Time_Zone> GMT
</Time_Zone>
</flat-profile>
]
To this:
Quote
["spa$MAC.cfg"
<flat-profile>
<Proxy_1_> 10.0.0.1
</Proxy_1_>
<Outbound_Proxy_1_> 10.0.0.1
</Outbound_Proxy_1_>
<User_ID_1_> 10.0.0.1
</User_ID_1_>
<Password_1_> 10.0.0.1
</Password_1_>
<Display_Name_1_> Kitchen
</Display_Name_1_>
<Dial_Plan_1_> (*x.|*xx*x.|x.)
</Dial_Plan_1_>
<Time_Zone> GMT -05:00
</Time_Zone>
</flat-profile>
]
and finally to this:
Quote
["spa$MAC.cfg"
<flat-profile>
<Proxy_1_> 10.0.0.1
</Proxy_1_>
<Outbound_Proxy_1_> 10.0.0.1
</Outbound_Proxy_1_>
<User_ID_1_> 10.0.0.1
</User_ID_1_>
<Password_1_> 10.0.0.1
</Password_1_>
<Display_Name_1_> Kitchen
</Display_Name_1_>
<Dial_Plan_1_> (*x.|*xx*x.|x.)
</Dial_Plan_1_>
</Time_Zone>
</flat-profile>
]
I have now turned changed Yes to No in the provisioning tab, reset the timezone on the regional tab, saved it and it is now showing the correct time, I suppose this will be OK until I turn off the SPA2000 :D

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline sonoracomm

  • *
  • 208
  • +0/-0
    • http://www.sonoracomm.com
SAIL/CLI and time stamp
« Reply #6 on: February 26, 2007, 10:23:08 PM »
Maybe the space is a problem?

"GMT -05:00"
vs.
"GMT-05:00"

I just looked it up in the manual, I didn't try it...

G

Offline del

  • *
  • 765
  • +0/-0
SAIL/CLI and time stamp
« Reply #7 on: February 28, 2007, 12:01:43 AM »
Hi Sonoracomm,

I have tried that also, but it still goes back to GMT :shock:  I have just changed it in the SPA2 and then turned off provisioning. No real hardship :D

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown