Page 1 of 1
Timezone for Local call TIme
Posted:
Tue Sep 23, 2014 8:26 pm
by ruben23
Version
2.4rc1
DB Schema Version
1317
DB Schema Update Date
2013-03-10 16:37:30
Goautodial 3.0
Hi guys how do i set the Local time for the campaign to match our time schedule for our campaign, coz currently i move my Server TimeZone to Autralian Melbourne but when i set local time schedule for Campaign: 9am - 9pm Calling. Leads are not loading, when set to 24 hours leads are loading...Any idea guys..?
Re: Timezone for Local call TIme
Posted:
Wed Sep 24, 2014 1:13 am
by gardo
Have you restarted MySQL when you changed your system timezone? Have you also set the system date to Melbourne time in the system settings page?
Re: Timezone for Local call TIme
Posted:
Wed Sep 24, 2014 1:48 am
by ruben23
@Gardo
Yes the Server itself is restarted during the timezone changes and also what part on the system setting i can change the system Date.?
I only see on the system setting significant to date/time is - Timeclock End Of Day - i don't see any System Date..
While in the Server section - Local GMT:
Re: Timezone for Local call TIme
Posted:
Wed Sep 24, 2014 3:07 am
by DomeDan
have you changed the timezone in /etc/php5/apache2/php.ini
Re: Timezone for Local call TIme
Posted:
Wed Sep 24, 2014 3:19 am
by ruben23
@DomeDan,
This is the entry on my php.ini:
[Date]
; Defines the default timezone used by the date functions
date.timezone = Australia/Melbourne
This is the only php.ini file i have:
[root@go ~]# find / -name php.ini
/etc/php.ini
Thanks
Re: Timezone for Local call TIme
Posted:
Wed Sep 24, 2014 4:32 am
by DomeDan
Not familiar with goautodial but search on google how to change timezone on centos or what OS it is.
I wrote a little script to compare different time settings, if they do not match then you need to fix it where its wrong (+/- a few seconds is ok)
- Code: Select all
#!/bin/bash
source <(sed 's/\ =>\ /=/g' /etc/astguiclient.conf) && \
echo "SELECT server_ip, UNIX_TIMESTAMP(last_update),UNIX_TIMESTAMP(db_time) from server_updater" | mysql -u$VARDB_user -p$VARDB_pass -h$VARDB_server -D asterisk && \
source /etc/sysconfig/clock && \
php -r "date_default_timezone_set('$TIMEZONE'); echo 'php time: '.date('U');" && echo ""
Re: Timezone for Local call TIme
Posted:
Wed Sep 24, 2014 7:31 am
by ruben23
@DomeDan,
So ill save this and run, then get result if my time setting are all accurate right..? Thanks
Re: Timezone for Local call TIme
Posted:
Thu Sep 25, 2014 2:01 pm
by gardo
Re: Timezone for Local call TIme
Posted:
Thu Sep 25, 2014 5:01 pm
by ruben23
@Gardo
Yes sir its already executed and we are pretty sure the time of server and dat is on Australia/Melbourne already..but seems the issue still tehre the leads wont load at all with 9am-9pm time schedule and we are hoping with goautodial to be able to do some custom local time but we don't see any menu for it compare with the original vicidial so we can made some attempt like put 9pm-9am....which might make it work sa inverted time...just to isolate issue.
Re: Timezone for Local call TIme
Posted:
Sun Sep 28, 2014 7:00 pm
by ruben23
Guys,
Anymore idea..? im still pretty stock with this issue somehow...Help...
Re: Timezone for Local call TIme
Posted:
Sun Sep 28, 2014 8:28 pm
by williamconley
What are your settings for "9am - 9pm" call times? (or the call times you are using ...)