Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jan 22, 2013 11:03 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
My system time is NTP synced but asterisk isn't using system time to record calls. Asterisk seems to do its own timekeeping and it's very bad at it. It's falling a long way behing system time, very roughly an hour a day behind. When I restart asterisk it sets itself to the correct time again and then soon falls behind yet again.

I really don't want to restart asterisk nightly just to keep the time in sync with my system.

Does anyone else who uses asterisk on linode have simular issues? If so did you ever find a fix?


Top
   
PostPosted: Tue Jan 22, 2013 8:13 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
For what it's worth, I haven't seen this behavior with Asterisk. I have:

Code:
Asterisk 1.6.2.5-0ubuntu1.4 built by buildd @ palmer on a i686 running Linux on 2011-07-12 21:26:25 UTC


After ~2 weeks of uptime, I am dead nuts on UTC in /var/log/asterisk/full as well as my CDRs. It is possible that some bug has been introduced in newer Asterisk versions, but I would have no idea why it would keep its own time-of-day clock...

If you could, right when a call ends, do 'date', 'date -u', and 'ntpq -c rl' and 'ntpq -p' on that system, then paste that and the CDR entry for the call here? Curious as to what sort of state it is ending up in...

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group