[asterisk-users] time on asterisk

Nhadie Ramos nhadie.ramos at yahoo.com
Thu Jun 12 03:59:51 CDT 2008


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/afd8732f/attachment.htm 


More information about the asterisk-users mailing list