Call Us Today! 877.742.2583

Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add events-use-dispatch



After discussion withe the engineers, I've come to understand that the "enable-use-system-time" parameter is a work around for older machines with broken clock api'sAPIs.

It's not recommended to use this setting in modern machines, as it's likely to break timing and other things... more notably when it comes to CDR'sCDRs...
It's preferred to use monotonic timing like as NTP/UTC...

I hear it can be useful to use non-monotonic timing for debugging weird issues occasionally, but I dont don't have specifics how /or when that may be used.
Using montonic timing is exactly how you address clock shift issues.

enable-use-system-time is something that may get removed from source code at some point, we've just not taken the time to remove it yet...



If set to true, instructs the FreeSWITCH event dispatcher to use the number of threads specified in initial-event-threads to dispatch events. This is useful on heavily loaded systems.


If initial-event-threads is specified, then events-use-dispatch is automatically toggled to true in switch_core.c



Number of event dispatch threads to allocate in the core. Default is 1.