I seem to be having issues with Timezones

Status
Not open for further replies.

codemonkey76

New Member
May 14, 2020
22
1
3
47
I think i possibly have my server / fusion setup setup wrong in regards to timezones. I have issues with calls being displayed with the wrong times in the call details records screen, but if I click on a call, to look at the details, seems to have the correct date/time.

Also my Time conditions are not activating at the correct time, seeming to not respect the timeszones setup.

I have the server time set

timedatectl set-timezone Australia/Brisbane

I have fusionpbx's Default settings timezone set to Australia/Brisbane

I also have my user account set to timezone Australia/Brisbane

Is there anything i need to restart in freeswitch for changes to take effect, and is this the correct setup for making sure the time conditions will activate at the correct times.
 

Ttaylor

Member
Apr 26, 2022
40
0
6
Colorado
Hmm. I attempted to see if this resolved my issue. However I believe mine is going to be server related.

Any advise on how to change freeswitch time?

My issue is time conditions. I cannot get my TCs to function properly due to conflicting time zone issues. (Yes I have set the domain specific time zone as well as the main superadmin) nothing resolves this issue, I am not sure what to do at this point.
 

mcs3ss2

Active Member
Sep 8, 2020
247
26
28
AU
you need to check you server time and free switch time
both time are to synced
freeswitch time is dependent on server time but it can fall behind (i think)

post your server and freeswitch time
also post your time condition screenshot
 

djacob

Member
Oct 31, 2016
43
8
8
50
Bensalem PA , USA
type this
dpkg-reconfigure tzdata
and follow instructions
then when all changed
then setup to sync to ntp server online using ntpdate
you can run manually to set your time
ntpdate au.pool.ntp.org
Then from the fs_cli
fsctl sync_clock
that should sync the FS clock to the system clock.
 

Ttaylor

Member
Apr 26, 2022
40
0
6
Colorado
type this
dpkg-reconfigure tzdata
and follow instructions
then when all changed
then setup to sync to ntp server online using ntpdate
you can run manually to set your time
ntpdate au.pool.ntp.org
Then from the fs_cli
fsctl sync_clock
that should sync the FS clock to the system clock.

So I got the first part done and changed it to MY time zone.

When i typed ntpdate it says command not found
 

Ttaylor

Member
Apr 26, 2022
40
0
6
Colorado
ALright.

I did that and when I went to fsctl sync_clock

2022-05-24 21:13:08.679076 99.17% [INFO] switch_time.c:626 Clock synchronized to system ti
me.

It did not populate the right now. It is currently 15:13 not 21:13 as shown here.
 

Ttaylor

Member
Apr 26, 2022
40
0
6
Colorado
admin@ip-111-11-1-11:~$ date
Wed May 25 06:21:24 MDT 2022
admin@ip-111-11-1-11:~$ fs_cli -x "strftime "
2022-05-25 12:21:46
 
Status
Not open for further replies.