Jump to content

CS410 loosing time


hosted

Recommended Posts

I am having a few CS410's that are loosing their time. Box this morning has an uptime of 17 hours. however I ssh'd and ran 'date' and it says: Tue Jan 1 03:13:45 UTC 2008

 

Which means 3 hours ago, the date reset for no reason.

 

Sounds like a problem with DNS or NTP itself. Is the PBX able to resolve pool.ntp.org?

Link to comment
Share on other sites

yes. so are you saying that if the ntp server which checks the time every so often doesnt get a reponse the time on the PBX will reset to JAN 1? 00:00 ??

 

because it was working before hand.

 

On the CS410, the PBX first uses ntpclient to set the initial time on the Linux level. Then the time is not set any more on the OS level. The PBX uses NTP just to keep track of time drifts, but does not change the time on the OS any more.

 

When you change the NTP server from the web interface, you need to reboot the system before that takes effect.

Link to comment
Share on other sites

ok but the box never rebooted and the customer called me and said their night service was active. I looked at the web interface and the date/time was wrong. so I sshed to the box and it was reset to Jan 1 at 3:00 AM. (which i assume means 3 hours ago the date reset.

 

the pbx was not reset. so my question is why did the box date reset? doesn't make sense.

 

I have 1 chronic box that doesn't this and 2 others so far that might have just been a fluke.

Link to comment
Share on other sites

ok but the box never rebooted and the customer called me and said their night service was active. I looked at the web interface and the date/time was wrong. so I sshed to the box and it was reset to Jan 1 at 3:00 AM. (which i assume means 3 hours ago the date reset.

 

the pbx was not reset. so my question is why did the box date reset? doesn't make sense.

 

I have 1 chronic box that doesn't this and 2 others so far that might have just been a fluke.

 

Oh. Setting the time on Linux has only limited effect. The PBX actually does it's own NTP and calculates the drift from the OS.

 

Changing the time on the OS screws up the callbacks. When you have a phone call and set the time on the OS, there will be a major RTP hickup. That's why we accept that the clock drifts and calculate the "real" time with this trick.

Link to comment
Share on other sites

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...