In this article we will see how to change the date, time and TimeZone in vicidial. Often you will face the Time Synchronization issue in vicidial based dialers when there is a Time difference between the Database, webserver ,asterisk and Linux. Also the Date and time should in sync for the clear Reports in vicidial.
What is Vicidial?
Why in Vicidial Time should be in Sync?
For Vicidial operation the date and time should be in sync with OS level, Database and PHP/webserver, to avoid the Time sync issue, Match the dial time of the leads and correct log time in reports.
Correcting the OS time will resolve the time sync issue, automatically the Database and webserver will take time set at OS level,
In this article, I have give the steps to change - Set - Correct time at OS level.
Solution 1: Proper Time Zone
Setting the right time zone will set the right time respective to the global location with respect to GMT.
Copy the right Time zone file to the local time file
copy paste the below command
cp /usr/share/zoneinfo/Asia/Kolkatta /etc/localtimetype y to overwrite
Followed to that Restart ntpd service to sync the time.
systemctl restart ntpdor/etc/init.d/ntpd restart
Solution 2: Sync BIOS Clock
systemctl stop ntpd
systemctl start ntpd
Solution 3: Manually Set Date and Time
In Linux "date" command will display the current date and time set in the server,
Mon Oct 21 12:22:51 IST 2012
date -s "Mon Oct 21 15:60:51 IST 2012"
replace the week,month, date, time, timezone, year in the above command
Hope the this article is helpful in changing the date, time and timezone in the vicidial or goautodial based dialers, for professional support reach me skype or telegram ID:striker24x7