[Freeswitch-users] The time on FreeSWITCH is faster than server time

Anthony Minessale anthony.minessale at gmail.com
Tue Feb 20 16:30:53 UTC 2018


The reason it does not stay synced is because if the time changes mid call
it would break cdrs.

I think there is some param or command line switch to sync to system time
but its generally a bad idea.


On Tue, Feb 20, 2018 at 7:13 AM Brian West <brian at freeswitch.com> wrote:

> 10 seconds in a month is rather good to hear.
>
> On Tue, Feb 20, 2018 at 3:41 AM, Shaun Stokes <
> shaun.stokes at itec-support.co.uk> wrote:
>
>> 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 at lists.freeswitch.org>
>> on behalf of 王聡 <cong.wang.itsherpa at 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 at 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 at 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 at 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 at 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 at freeswitch.com
>
> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>
> Email: brian at freeswitch.com
>
> Mobile: 918-424-9378
>
> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>
> [image: color-facebook-96.png] <https://www.facebook.com/freeswitch/>[image:
> color-twitter-96.png]
> <https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-- 
Anthony Minessale II
Founder, FreeSWITCH.
http://freeswitch.com


https://youtu.be/l_hOxzCt6X4
https://www.youtube.com/watch?v=oAxXgyx5jUw
https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180220/95be908b/attachment-0001.html>


More information about the FreeSWITCH-users mailing list