NO JOY IPBX 13-13 Time wrong

Scott Reeves

New Member
Joined
May 4, 2017
Messages
4
Reaction score
1
In spite of endless searching, I can't solve a timezone problem. In the TimeGroups dialog the time is two hours off and has the wrong time zone listed. It's causing the CDR reports to be wrong as well as the timestamp for voicemails/call recordings.

I've tried to use the timezone-setup script a couple of times in /root but to no avail. Rebooting the server doesn't fix it either. My correct TZ is America/Phoenix and is reflected in php.ini as such. However, the dialog shows EST but I can't seem to figure out why. Executing 'date' at the terminal returns the correct time. Hardware and system time are the same.

Any takers?
 

Scott Reeves

New Member
Joined
May 4, 2017
Messages
4
Reaction score
1
Great article but carefully reading through it, I tried every trick in there - no joy...
 

Scott Reeves

New Member
Joined
May 4, 2017
Messages
4
Reaction score
1
There has to be a place where this bit of code picks up the wrong time. The hardware clock is right, php.ini is right, the date command at the terminal shows the correct time... Where could this be getting the wrong time from? What am I missing?
 

billsimon

Experienced in Asterisk, FreePBX, and SIP
Joined
Jan 2, 2011
Messages
988
Reaction score
324
Settings -> Advanced Settings -> PHP Timezone - may be overriding what you have set in php.ini
 
  • Like
Reactions: Scott Reeves

Members online

No members online now.

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,444
Messages
137,972
Members
14,611
Latest member
rampageai