Page 1 of 1

ERROR GMT OFFSET

PostPosted: Fri Aug 25, 2017 8:43 am
by felipecl
Hi everyone,
I have a problem with the time zone. Which is not synchronized apparently with the server since when placing a schedule in "admin> call times" the calls are stopped with an hour of delay after
Image

I have checked the time zone of my server which is in "-3" just like the hardware:

Image

I have reviewed the time of php, database and vicidial in which all agree:

Image

Lists are loaded with the correct time zone:

Image

This is my php.ini:

Image

** It should be noted that for the country where I am I have 2 time zones that change so I would also like to know how to change the default value of the loads of the leads**

In the OS configuration I also have time zone -3:
Image

Even so when I put the command:
Code: Select all
/usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug


The following appears to me:

Code: Select all
vicibox7:~ # /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug

-----DEBUGGING -----

STARTING TIME ZONE DAYLIGHT SAVING TIME CALCULATION SCRIPT



SEED TIME  1503667976      :   2017-08-25 10:32:56  LOCAL GMT OFFSET NOW: -2
 - Unique Country dial codes found: 1

RUNNING LOOP FOR COUNTRY CODE: 1
Area Code Updates: 0
Postal Updates:    0
NANPA Updates:     0
Time Zone Code Updates:     0

GRAND TOTALS:
Postal Updates:    0
Area Code Updates: 0
NANPA Updates:     0
TIME ZONE Updates: 0

DONE
     - process runtime      (0 sec) (0 minutes)


Giving me as "LOCAL GMT OFFSET NOW: -2",When in fact up to value by default database is in "-3"

Image

My problem is that something I have to configure and I do not know. I would like to know since later on I also have to make all this change again to leave it at -4 as time zone since for my country we have changing time zones according to the seasons of the year.

If you need any extra information please tell me so I can give them since I do not have much experience in this. Thank you very much for your help.

PD: ViciBox_v.7.x86_64-7.0.3 from .iso | Vicidial 2.14-625a Build 170821-2009 | Asterisk 11.22.0-vici |SVN 2807 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU E31220 @ 3.10GHz cpu cores: 4 Ram: 4GB

Re: ERROR GMT OFFSET

PostPosted: Fri Aug 25, 2017 9:10 am
by mflorell
When you load your leads, what is the phone_code and what is the country_code?

There are several options for setting of time zones for your leads, and there is even a List override for how the time zone is calculated.

Re: ERROR GMT OFFSET

PostPosted: Fri Aug 25, 2017 10:19 am
by felipecl
I do not charge any phone_code since by default it takes the correct time zone, but still the leads are stopped an hour later than indicated in call times. Although I tested by placing phone_code and I can place the time zone that I want but still with this I have an offset of one hour as indicated in calltimes