Effect of sync_clock on calls?
Should there be any audio-quality effects on calls by running fsctl sync_clock? To try to get my timestamps as close as possible to system time, I plan on running this every 5 minutes or so. Is there a fundamental issue with this? Or is there a way to disable the monotonic clock completely? I understand what it's trying to achieve, but I cannot see how it'll ever be any more accurate than the system time, which is sync'd via NTP. I'm more concerned about my timestamps being accurate than protecting against someone turning off NTP and changing the time to some invalid value. -Michael
Hola, http://wiki.freeswitch.org/wiki/Clock The general concensus says that you really should not be messing around too much with using sync_clock. If you still plan to go down this road, I suggest only syncing the clock when there are no calls. Syncing the clock could cause some issues if you are doing this when there are calls up. -BD On Fri, Jan 13, 2012 at 9:22 AM, Michael Giagnocavo <mgg@giagnocavo.net>wrote:
Should there be any audio-quality effects on calls by running fsctl sync_clock? To try to get my timestamps as close as possible to system time, I plan on running this every 5 minutes or so. Is there a fundamental issue with this?****
** **
Or is there a way to disable the monotonic clock completely? I understand what it’s trying to achieve, but I cannot see how it’ll ever be any more accurate than the system time, which is sync’d via NTP. I’m more concerned about my timestamps being accurate than protecting against someone turning off NTP and changing the time to some invalid value.****
** **
-Michael****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-429-1069 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header.If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
I think in later FS versions (git head) the actual sync is not done until there are no calls. Either that is the case, or there was a new fsctl command added to handle this. Anthm, I think you implemented this a few weeks ago? /Peter Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Brian Foster Skickat: den 13 januari 2012 15:36 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Effect of sync_clock on calls? Hola, http://wiki.freeswitch.org/wiki/Clock The general concensus says that you really should not be messing around too much with using sync_clock. If you still plan to go down this road, I suggest only syncing the clock when there are no calls. Syncing the clock could cause some issues if you are doing this when there are calls up. -BD On Fri, Jan 13, 2012 at 9:22 AM, Michael Giagnocavo <mgg@giagnocavo.net<mailto:mgg@giagnocavo.net>> wrote: Should there be any audio-quality effects on calls by running fsctl sync_clock? To try to get my timestamps as close as possible to system time, I plan on running this every 5 minutes or so. Is there a fundamental issue with this? Or is there a way to disable the monotonic clock completely? I understand what it's trying to achieve, but I cannot see how it'll ever be any more accurate than the system time, which is sync'd via NTP. I'm more concerned about my timestamps being accurate than protecting against someone turning off NTP and changing the time to some invalid value. -Michael _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com<mailto:bdfoster@endigotech.com> Phone: 317-429-1069 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header.If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. !DSPAM:4f10410632761818622984!
I forgot the command but yes. It's an extra arg to the existing sync clock. Again I don't think this even happens on win unless you ask it to. On Jan 13, 2012 9:09 AM, "Peter Olsson" <peter.olsson@visionutveckling.se> wrote:
I think in later FS versions (git head) the actual sync is not done until there are no calls. Either that is the case, or there was a new fsctl command added to handle this.****
** **
Anthm, I think you implemented this a few weeks ago?****
** **
/Peter****
** **
** **
*Från:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *För *Brian Foster *Skickat:* den 13 januari 2012 15:36 *Till:* FreeSWITCH Users Help *Ämne:* Re: [Freeswitch-users] Effect of sync_clock on calls?****
** **
Hola,****
****
http://wiki.freeswitch.org/wiki/Clock****
****
The general concensus says that you really should not be messing around too much with using sync_clock. If you still plan to go down this road, I suggest only syncing the clock when there are no calls. Syncing the clock could cause some issues if you are doing this when there are calls up.****
****
-BD****
****
On Fri, Jan 13, 2012 at 9:22 AM, Michael Giagnocavo <mgg@giagnocavo.net> wrote:****
Should there be any audio-quality effects on calls by running fsctl sync_clock? To try to get my timestamps as close as possible to system time, I plan on running this every 5 minutes or so. Is there a fundamental issue with this?****
****
Or is there a way to disable the monotonic clock completely? I understand what it’s trying to achieve, but I cannot see how it’ll ever be any more accurate than the system time, which is sync’d via NTP. I’m more concerned about my timestamps being accurate than protecting against someone turning off NTP and changing the time to some invalid value.****
****
-Michael****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-429-1069 Indianapolis, Indiana, USA
This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header.If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
!DSPAM:4f10410632761818622984! ****
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
Yea, I found the one that waits until after it finishes calls. What would the actual effect be on a call? Suppose my clock has drifted 5ms and I sync; would that make timers expire sooner/later and cause an audio distortion? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, January 13, 2012 8:32 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Effect of sync_clock on calls? I forgot the command but yes. It's an extra arg to the existing sync clock. Again I don't think this even happens on win unless you ask it to. On Jan 13, 2012 9:09 AM, "Peter Olsson" <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: I think in later FS versions (git head) the actual sync is not done until there are no calls. Either that is the case, or there was a new fsctl command added to handle this. Anthm, I think you implemented this a few weeks ago? /Peter Från: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] För Brian Foster Skickat: den 13 januari 2012 15:36 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Effect of sync_clock on calls? Hola, http://wiki.freeswitch.org/wiki/Clock The general concensus says that you really should not be messing around too much with using sync_clock. If you still plan to go down this road, I suggest only syncing the clock when there are no calls. Syncing the clock could cause some issues if you are doing this when there are calls up. -BD On Fri, Jan 13, 2012 at 9:22 AM, Michael Giagnocavo <mgg@giagnocavo.net<mailto:mgg@giagnocavo.net>> wrote: Should there be any audio-quality effects on calls by running fsctl sync_clock? To try to get my timestamps as close as possible to system time, I plan on running this every 5 minutes or so. Is there a fundamental issue with this? Or is there a way to disable the monotonic clock completely? I understand what it's trying to achieve, but I cannot see how it'll ever be any more accurate than the system time, which is sync'd via NTP. I'm more concerned about my timestamps being accurate than protecting against someone turning off NTP and changing the time to some invalid value. -Michael _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com<mailto:bdfoster@endigotech.com> Phone: 317-429-1069<tel:317-429-1069> Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header.If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. !DSPAM:4f10410632761818622984! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
I'm not really sure. But I guess there could be a short gap in audio. 5ms I'm not sure you would even notice. FS probably handles it quite well :) /Peter ________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Michael Giagnocavo [mgg@giagnocavo.net] Skickat: den 13 januari 2012 17:21 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Effect of sync_clock on calls? Yea, I found the one that waits until after it finishes calls. What would the actual effect be on a call? Suppose my clock has drifted 5ms and I sync; would that make timers expire sooner/later and cause an audio distortion? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale Sent: Friday, January 13, 2012 8:32 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Effect of sync_clock on calls? I forgot the command but yes. It's an extra arg to the existing sync clock. Again I don't think this even happens on win unless you ask it to. On Jan 13, 2012 9:09 AM, "Peter Olsson" <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: I think in later FS versions (git head) the actual sync is not done until there are no calls. Either that is the case, or there was a new fsctl command added to handle this. Anthm, I think you implemented this a few weeks ago? /Peter Från: freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org<mailto:freeswitch-users-bounces@lists.freeswitch.org>] För Brian Foster Skickat: den 13 januari 2012 15:36 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Effect of sync_clock on calls? Hola, http://wiki.freeswitch.org/wiki/Clock The general concensus says that you really should not be messing around too much with using sync_clock. If you still plan to go down this road, I suggest only syncing the clock when there are no calls. Syncing the clock could cause some issues if you are doing this when there are calls up. -BD On Fri, Jan 13, 2012 at 9:22 AM, Michael Giagnocavo <mgg@giagnocavo.net<mailto:mgg@giagnocavo.net>> wrote: Should there be any audio-quality effects on calls by running fsctl sync_clock? To try to get my timestamps as close as possible to system time, I plan on running this every 5 minutes or so. Is there a fundamental issue with this? Or is there a way to disable the monotonic clock completely? I understand what it’s trying to achieve, but I cannot see how it’ll ever be any more accurate than the system time, which is sync’d via NTP. I’m more concerned about my timestamps being accurate than protecting against someone turning off NTP and changing the time to some invalid value. -Michael _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com<mailto:bdfoster@endigotech.com> Phone: 317-429-1069<tel:317-429-1069> Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header.If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 !DSPAM:4f1059da32761824717460!
Hello, just for the record the command is: fsctl sync_clock_when_idle I've added it to http://wiki.freeswitch.org/wiki/Clock Kind Regards, 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. -----------------------------------------------------------------------------------------------------
participants (5)
-
Anthony Minessale
-
Brian Foster
-
Cavalera Claudio Luigi
-
Michael Giagnocavo
-
Peter Olsson