Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
"NTP is configured to sync our database and diallers"
omarrodriguezt wrote:Hello, don't forget to post your system specifications including Vicidial Version.
Have you restarted all your servers?"NTP is configured to sync our database and diallers"
Are you syncing the dialers against the DB?
mrgunston wrote:I can see that they are all in sync however, "PHP time" is about 6 seconds out.k
williamconley wrote:mrgunston wrote:I can see that they are all in sync however, "PHP time" is about 6 seconds out.k
OK: Ya lost me there bud. Are you saying that the DB and the Web server (which is where php resides, of course) do not have the same time, but they are on the same server? I strongly suspect that those two roles are on different servers and those two servers have different times.
dreedy wrote:It sounds like you are stating that the ntp from all server are pointed to a single source. If the reports section of the vici web are coming out of sync then is sounds like you might want to look at the mananger.conf int /etc/asterisk and update the contents. I have had a similar issue happen when loading up a fresh box. Here is the manager.conf that works for me.
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate
[updatecron]
secret = 1234
read = command,reporting
write = command,reporting
eventfilter=Event: CoreShowChannel
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user,dtmf
write = command
eventfilter=Event: Shutdown
eventfilter=Event: DTMFBegin
eventfilter=Event: DTMFEnd
eventfilter=Event: NewCallerid
eventfilter=Event: Newstate
eventfilter=Event: Hangup
eventfilter=!Event: HangupRequest
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user,originate
mrgunston wrote:williamconley wrote:mrgunston wrote:I can see that they are all in sync however, "PHP time" is about 6 seconds out.k
OK: Ya lost me there bud. Are you saying that the DB and the Web server (which is where php resides, of course) do not have the same time, but they are on the same server? I strongly suspect that those two roles are on different servers and those two servers have different times.
They are not the same server. The DB is it's own server & I have 2 separate severs, and they are both Webservers and diallers.
williamconley wrote:I strongly suspect that those two roles are on different servers and those two servers have different times.
+------------------+---------------------+
| Server | Time |
+------------------+---------------------+
| Db Server | BLANK |
| Dialler / Web 01 | 2019-03-04 15:44:31 |
| Dialler / Web 02 | 2019-03-04 15:44:31 |
| PHP Time | 2019-03-04 15:44:23 |
| DB Time | 2019-03-04 15:44:31 |
+------------------+---------------------+
mrgunston wrote:This is what I see under "Reports":
- Code: Select all
+------------------+---------------------+
| Server | Time |
+------------------+---------------------+
| Db Server | BLANK |
| Dialler / Web 01 | 2019-03-04 15:44:31 |
| Dialler / Web 02 | 2019-03-04 15:44:31 |
| PHP Time | 2019-03-04 15:44:23 |
| DB Time | 2019-03-04 15:44:31 |
+------------------+---------------------+
williamconley wrote:mrgunston wrote:This is what I see under "Reports":
- Code: Select all
+------------------+---------------------+
| Server | Time |
+------------------+---------------------+
| Db Server | BLANK |
| Dialler / Web 01 | 2019-03-04 15:44:31 |
| Dialler / Web 02 | 2019-03-04 15:44:31 |
| PHP Time | 2019-03-04 15:44:23 |
| DB Time | 2019-03-04 15:44:31 |
+------------------+---------------------+
fair enough. Now: What times do you see on the console of each server? Apparently, one of them is off by 8 seconds and needs a push to be the correct time.
Users browsing this forum: Bing [Bot] and 103 guests