[asterisk-users] time on asterisk

Nhadie Ramos nhadie.ramos at yahoo.com
Thu Jun 12 20:00:04 CDT 2008


hi sir,

i forgot to mention it was originally at Asia/Singapore, when i noticed 
that asterisk has a wrong time, that's why i tried GMT instead.

regards,
Ron

--- On Thu, 6/12/08, Stelios Koroneos <skoroneos at digital-opsis.com> wrote:
From: Stelios Koroneos <skoroneos at digital-opsis.com>
Subject: RE: [asterisk-users] time on asterisk
To: nhadie.ramos at yahoo.com, "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 2008, 9:33 AM



 
GMT timezone does not have daylight savings, so probably 
this is why you have the wrong time
Select a timezone for a city and usually the correct 
daylight parameters are used
 
Stelios S. Koroneos

Digital OPSiS - Embedded 
Intelligence
http://www.digital-opsis.com

 


  
  
  From: asterisk-users-bounces at lists.digium.com 
  [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nhadie 
  Ramos
Sent: Thursday, June 12, 2008 12:00 PM
To: 
  asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] time 
  on asterisk


  
  
    
    
      hi mats,

i'm using 64-bit Ubuntu Server Edition 
        8.04
I just use GMT+0, but i'm on Singapore whcih should be at GMT+8, 
        but if i use GMT+8 the system does not give the correct time.

i'm 
        not using ntp, coz when i do i also don't get the correct 
        time.

i'm not sure how i can fix this, is this an ubuntu 
        issue?

regards,
ron

--- On Thu, 6/12/08, mkn0014 
        <mkn0014 at gmail.com> wrote:

        From: 
          mkn0014 <mkn0014 at gmail.com>
Subject: Re: [asterisk-users] 
          time on asterisk
To: nhadie.ramos at yahoo.com, "Asterisk Users 
          Mailing List - Non-Commercial Discussion" 
          <asterisk-users at lists.digium.com>
Date: Thursday, June 12, 
          2008, 8:20 AM

Nhadie Ramos wrote:
> Hi Sir,
>
> I tried restarting asterisk, but still it has the wrong time.
>
> I tried restarting the system, then start asterisk it still uses the 
> wrong time.
>
> I also tried recompiling asterisk, checked i have the correct time on 
> the system,  then restart the system then start asterisk but still i 
> get the wrong time.
>
> My system time (currently) Thu Jun 12 15:12:11 GST 2008
>
> on asterisk i use EPOCH to look at the time,   
> NoOp("SIP/105101-00857e60", "DATE: 20080612-081147")
>
> i would really appreciate any help. TIA
>
> ron
>
> --- On *Thu, 6/12/08, Tilghman Lesher 
> /<tilghman at mail.jeffandtilghman.com>/* wrote:
>
>     From: Tilghman Lesher
 <tilghman at mail.jeffandtilghman.com>
>     Subject: Re: [asterisk-users] time on asterisk
>     To: "Asterisk Users Mailing List - Non-Commercial
Discussion"
>     <asterisk-users at lists.digium.com>
>     Date: Thursday, June 12, 2008, 1:42 AM
>
>     On Wednesday 11 June 2008 17:52:15 Nhadie Ramos wrote:
>     > I'm using gotoiftime on asterisk, but it seems 
there is a difference
>     > between the asterisk time and the system time. could it be
because i
>     > adjusted the system timezone on my linux? do asterisk not detect
the change
>     > of timezone on the system? How can I fix this prob?
>
>     Yes, that's probably the reason.  The system timezone is cached
once at
>     startup, for performance reasons.  The only way to get it to pick up
the new
>     timezone is a restart.
>
>     -- 
>    
 Tilghman
>               
>

Ron,
What OS/Distro are you using ?
What timezone are you using ?
Do you use NTP for syncing time/date?


/Mats



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080612/540ec8ce/attachment.htm 


More information about the asterisk-users mailing list