If you're using FreeSWITCH in a virtual environment we've had similar issues when using FreeSWITCH on a Hyper-V VM, the time on the VM seems to run at a slightly difference pace. When the VM syncs with the host FreeSWITCH doesn't pick this up.
We found using sync_clock fixed this which we run daily as a scheduled task which executes the command 'fsctl sync_clock_when_idle' via Event Socket API, also disabled the time sync between the VM and switched to NTP.
It would be useful if FreeSWITCH would execute this command every 24 hours out of the box, I can't think of any circumstances where this behaviour wouldn't be desired.
Shaun
________________________________________
From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org > on behalf of 王聡 <cong.wang.itsherpa@gmail.com>
Sent: 20 February 2018 09:08
To: FreeSWITCH Users Help
Subject: [Freeswitch-users] The time on FreeSWITCH is faster than server time
______________________________
Hey all,
Recently I noticed a clock problem on my FS server, the time in fs_cli had about 10sec faster than server time(correct time), so I executed sync_clock to correct it.
This server had run about 1 month, and I wonder if I need to make sync_clock per month, and how to fix this clock problem.
Regards.
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
______________________________ __________
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.
____________________________________________________________ __________
____________________________________________________________ __________
This message has been checked for all known viruses by MessageLabs Virus Scanning Service.
____________________________________________________________ __________
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
Brian West | Co-founder and Developer
Need Commercial support? email sales@freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian@freeswitch.com
Mobile: 918-424-9378
Website: https://www.FreeSWITCH.com