Asterix / FreePBX time skew

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?

1 Reply

For what it's worth, I haven't seen this behavior with Asterisk. I have:

Asterisk 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…


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct