Hi, I've noticed that one of my new servers (new mobo) if drifting slowly backwards in time (in aprox. 24 hours, system time drifts back 5 minutes). I have an ntpd process which is supposed to sync with a lan time server but it's not quite working. So I'm launching a manual ntpdate or ntp-client once an hour and that seems to work. However, suppose I update system time at every hour and it sets +1 minute (due to a -1 minute drift). Suppose a call is dialed at 03:58 and lasts 4 "real" minutes. According to the updated system time, the call will have lasted 5 minutes (4+1 drift). How does Asterisk CDR count the duration/billsec values? Does it rely on system time ONLY for "call start" or also for "call end"? What Asterisk-related side-effects should I expect from a drifting clock? Thanks Vieri
On Sun, 25 Apr 2010, Vieri wrote:> Hi, > > I've noticed that one of my new servers (new mobo) if drifting slowly > backwards in time (in aprox. 24 hours, system time drifts back 5 > minutes). > > I have an ntpd process which is supposed to sync with a lan time server > but it's not quite working. So I'm launching a manual ntpdate or > ntp-client once an hour and that seems to work.If you can run ntpdate and it sets the time, then you are not running ntpd. The 2 can not run at the same time. So I'd start by fixing ntpd. It really is the best way forward.> However, suppose I update system time at every hour and it sets +1 > minute (due to a -1 minute drift). Suppose a call is dialed at 03:58 and > lasts 4 "real" minutes. According to the updated system time, the call > will have lasted 5 minutes (4+1 drift). > > How does Asterisk CDR count the duration/billsec values? Does it rely on > system time ONLY for "call start" or also for "call end"? > > What Asterisk-related side-effects should I expect from a drifting > clock?Who cares. Just fix ntpd then your worys are gone. Gordon
On 27/04/10 7:33 PM, 675842709 wrote:> when i install asterisk addon ,i got error here > chan_ooh323.c:1934: error: dereferencing pointer to incomplete type > chan_ooh323.c:1935: error: dereferencing pointer to incomplete type > chan_ooh323.c:1937: error: dereferencing pointer to incomplete type > chan_ooh323.c:1938: error: dereferencing pointer to incomplete type > chan_ooh323.c:1940: error: dereferencing pointer to incomplete type > chan_ooh323.c:1943: error: dereferencing pointer to incomplete typeDo you need OpenH.323? If not, run make menuconfig and disable it -- Cheers, Matt Riddell Managing Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/exchange.php (Full ITSP Solution) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)