[Freeswitch-dev] Epoch current time difference

Anthony Minessale anthony.minessale at gmail.com
Wed Dec 14 19:31:57 MSK 2011

I feel I have explained this many times.  Too bad it never makes it to a
wiki or faq.

Allowing any software to trust the system time is very dangerous.
 Something that was depending on the system time to calculate a duration
etc can be considerably compromised if the time suddenly changes by hours
or years in either direction.
Things like daylights savings time can break CDR etc.

The clock in FS is the onboard monotonic clock and the offset to real time
is preserved.  If you want FS to sync to system time when desired there are
commands to perform this operation.

On Wed, Dec 14, 2011 at 10:21 AM, Cavalera Claudio Luigi <
Claudio.Cavalera at italtel.it> wrote:

> > -----Original Message-----
> > I don't know what your environment is like, but if you can get away
> > with keeping NTP running on the server and issue a sync_clock nightly,
> > that might be the best thing.  I can think of 3 or 4 other systems
> > that could fail unexpectedly due to time drift like that.  At the very
> > least, it makes it so that all of your logs have correct timestamps :)
> >
> > Gabe
> Hello,
> sorry for "hijacking" this thread.
> Can someone please explain why FS keeps its own time ?
> As far as I know on vmware machines you can't avoid using NTP if you
> want to keep your system clock and with automatic daylight changes i've
> seen a difference of one hour between system time and freeswitch time.
> :-(
> Ciao,
> Claudio
> Internet Email Confidentiality Footer
> -----------------------------------------------------------------------------------------------------
> La presente comunicazione, con le informazioni in essa contenute e ogni
> documento o file allegato, e' rivolta unicamente alla/e persona/e cui e'
> indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete
> i destinatari/autorizzati siete avvisati che qualsiasi azione, copia,
> comunicazione, divulgazione o simili basate sul contenuto di tali
> informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P.,
> D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se
> avete ricevuto questa comunicazione per errore, vi preghiamo di darne
> immediata notizia al mittente e di distruggere il messaggio originale e
> ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il
> contenuto.
> This e-mail and its attachments are intended for the addressee(s) only and
> are confidential and/or may contain legally privileged information. If you
> have received this message by mistake or are not one of the addressees
> above, you may take no action based on it, and you may not copy or show it
> to anyone; please reply to this e-mail and point out the error which has
> occurred.
> -----------------------------------------------------------------------------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111214/22f030ae/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list