How to change date time timezone in vicidial

    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.


vicidial time change

What is Vicidial?

    Vicidial is an enterprise class, open source, contact center suite in use by many large call centers around the world. VICIdial has a full featured predictive dialer.  It is capable of inbound, outbound, and blended phone call handling. 

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/localtime
type y to overwrite

Followed to that Restart ntpd service to sync the time.

systemctl restart ntpd
or
/etc/init.d/ntpd restart

Solution 2: Sync BIOS Clock

    Sometimes the clock that is managed by Linux kernel is not the same as the hardware clock.
Hardware clock runs even when you shutdown your system.
Hardware clock is also called as BIOS clock. You can change the date and time of the hardware clock from the BIOS.

Copy paste the below command to sync the clock with BIOS clock

systemctl stop ntpd
ntpdate 1.rhel.pool.ntp.org
/sbin/hwclock --systohc
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,

example:
linux#date
Mon Oct 21 12:22:51 IST 2012

    You can use the same "date" command with "s" label to change the date and time in the linux server
    date -s "Mon Oct 21 15:60:51 IST 2012"

    replace the week,month, date, time, timezone, year in the above command

    Conclusion:

        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

    1 Comments
    • Ajit Kumar
      Ajit Kumar April 4, 2022 at 11:28 AM

      How to set right date and time goautodial vicidial or linux systems.

    Add Comment
    comment url