The servers must have EXACT time syncronization between the two..
Think of it like this
(notice the times are not sync'd)
vicidial server: 11:25am
database server: 10:25am
user logs into vicidial so the
script which runs on the vicidial server runs and adds and entry to the database vicidial_live_agents table based on the time the user logged in..
the scripts that run from vicidial server will base all their timestamps on THEIR local time
so the database now sees that a agent logged into the vicidial server at 11:25am
now the campaign screen operates purely off of the database time.
so it says the time now is 10:25am and since that user logged into the server at 11:25am technically they arent logged in for another hour.
I know this sounds complex and Im sure I could word it better but its early