HELP! Time is off

The time and date on the asterisk service is different the time and date on the system… How do I go about synchronizing the time and date?

Can you post more information about where are you facing this problem (CDR?)

and stop making two threads for the same issue …

The problem is that we use Cisco phones connected to the Asterisk PBX. All phones time is 15 minutes ahead of the real time. However, on the Linux box, it shows the correct time. I’m guessing there’s a settings somewhere within Asterisk thatdefines the time.

well the asterisk takes time from your local O.S time settings.
it uses the funtion localtime_r() for this purpose.
So you change your O.S time settings to match with Cisco.

The weird thing is, the OS is showing the right time. I ran the command “date” and it showed the correct date and time. However, on the phones and in Asterisk debug mode, it shows a different time. Puzzled

what happens if you type in:

hwclock --show

at linux command line.
this tells you what the mobo time is. This may be the time you are seeing.

[quote=“dghundt”]what happens if you type in:

hwclock --show

at linux command line.
this tells you what the mobo time is. This may be the time you are seeing.[/quote]

It shows the correct time and date. Same as if I do the “date” command

anyone? this is kind of an urgent matter :frowning: