Time synchronization Error!!!!!!!!

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Postby williamconley » Wed Sep 08, 2010 8:48 am

which version of the agent screen are you using? the one that came with vicidial 2.4?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20252
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gerald_lyc » Wed Sep 08, 2010 3:26 pm

yes the one that come with 2.4 and i have tried with the 2.2 also but still the same problem.
gerald_lyc
 
Posts: 59
Joined: Fri May 21, 2010 5:44 pm

Postby williamconley » Wed Sep 08, 2010 3:58 pm

simplest solution: reinstall with vicibox redux.

harder solution: find out why the error occurs ... ordinarily it is because the agents are losing contact with the server, but if it happened as part of an upgrade it could be something else entirely.

back up your data, rebuild the system, make sure it WORKS, then restore your data ... if it stops working at that point, we can "modify" and import your data instead of restoring it so you can still have it.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20252
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gerald_lyc » Thu Sep 09, 2010 6:48 am

I have successfully synchronize the time of my server with the vicidial administrative interface but the time in the agent interface is 2 hour less. can someone tell me where to set this time or where to synchronize it please. Does it not syn with the server time?
gerald_lyc
 
Posts: 59
Joined: Fri May 21, 2010 5:44 pm

Postby williamconley » Thu Sep 09, 2010 10:02 am

agent interface time is set by the value of the time zone in the phone definition (it is assumed that phones are stationary and therefor belong in a specific time zone, whereas agents are mobile and may move from zone to zone, so this value is placed in the phone definition instead of the agent definition)

when you post, please post your entire configuration including (but not limited to) your installation method and OS with kernel or version, vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.

Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation

this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20252
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby knotbeerdan » Mon Aug 01, 2011 3:01 pm

I had the same error, in my case the mysql table asterisk.server_performance had become corrupt and needed to be repaired. I find that most of the times I see this screen on a regular basis it is best to look into the mysql asterisk tables and repair any which have become corrupted.
GoAutoDial 2.1CE - standard install | Asterisk: 1.4.27.1-1 | Vicidial: 2.4-309a | Build: 110430-1642| Telephony cards: none
knotbeerdan
 
Posts: 40
Joined: Thu May 05, 2011 4:31 pm
Location: Phoenix, AZ

Re: Time synchronization Error!!!!!!!!

Postby KVM1-port » Thu Oct 22, 2015 9:59 am

This time synchronization error will pop up when your asterisk version number does not end in a 0 or a 1.
The cause is in a limitation in the /usr/share/astguiclient/AST_update.pl script when it tries to connect
via telnet to the asteriskserver. It waits for a telnet response ending in a 0 or a 1. But when you
have Asterisk version 1.3 for instance the script exits with a timeout error and Vicidial will then
send the time synchronization error screen to your agents.

The solution is to modify the following pattern in line 457 :
$t->waitfor('/[01]\n$/');

to:

$t->waitfor('/[0123456789]\n$/');

Then you will be able to run any version of Asterisk without synchronization errors!!
KVM1-port
 
Posts: 2
Joined: Thu Oct 22, 2015 9:45 am

Re: Time synchronization Error!!!!!!!!

Postby williamconley » Thu Oct 22, 2015 10:16 am

KVM1-port wrote:This time synchronization error will pop up when your asterisk version number does not end in a 0 or a 1.
The cause is in a limitation in the /usr/share/astguiclient/AST_update.pl script when it tries to connect
via telnet to the asteriskserver. It waits for a telnet response ending in a 0 or a 1. But when you
have Asterisk version 1.3 for instance the script exits with a timeout error and Vicidial will then
send the time synchronization error screen to your agents.

The solution is to modify the following pattern in line 457 :
$t->waitfor('/[01]\n$/');

to:

$t->waitfor('/[0123456789]\n$/');

Then you will be able to run any version of Asterisk without synchronization errors!!

AFAIK, no one else has ever had this problem. So ... what version of Vicidial (with Build) are you running?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20252
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Time synchronization Error!!!!!!!!

Postby KVM1-port » Thu Oct 22, 2015 12:29 pm

I have version Asterisk 11.13.1~dfsg-2+b1 here , with Asterisk Call Manager version 1.3.
When I telnet to the server on port 5038
"Asterisk Call Manager/1.3" is displayed. But the AST_update.pl then waits for a "0" or a "1",
and quits after a time-out, because the "3" is obviously not valid.
I had the same issue with the AST_conf_update.pl script
The script failed and on line 259 and 388 I changed the pattern "[01]" into "[0-9]" and the script
finished successfully thereafter.
KVM1-port
 
Posts: 2
Joined: Thu Oct 22, 2015 9:45 am

Re: Time synchronization Error!!!!!!!!

Postby mflorell » Thu Oct 22, 2015 12:35 pm

You know, if you were using the most recent svn/trunk code, that would have already been fixed. We added Asterisk 11 support several months ago, you seem to be using older vicidial code, so I would recommend upgrading.
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Time synchronization Error!!!!!!!!

Postby Adrianyong » Mon Mar 13, 2023 6:41 pm

Can this be a design flaw?

The fact that all os vs db or apache vs db time comparison indicates a design issue

In the first place, time should be handle by os alone.

The db time shouldn't have been queried. It should have been passed as a parameter from os to database table.

Wouldn't this solve the issue.. permanently?
Adrianyong
 
Posts: 7
Joined: Mon Dec 26, 2022 8:43 am

Previous

Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 26 guests