[asterisk-users] time on asterisk

mkn0014 mkn0014 at gmail.com
Thu Jun 12 03:20:33 CDT 2008


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&nbsp; 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




More information about the asterisk-users mailing list