time synchronization problem

Any and all non-support discussions

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

time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 2:27 pm

Im using vicibox9 with asterisk 13.29.2-vici... recently i restarted the asterisk server from CLI, and then restarted my cloud server, since then when my agents log in, it shows time synchronization problem. plz how to solve this?
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 2:36 pm

it could be a few things but check your asterisk sockets first:

screen -ls

and show me the output
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 2:38 pm

There are screens on:
2571.ASTemail (Detached)
2567.ASTVDadFILL (Detached)
2564.ASTfastlog (Detached)
2561.ASTVDadapt (Detached)
2376.asterisk (Detached)
2371.astshell20200630122445 (Detached)
6 Sockets in /run/screens/S-root.
You have new mail in /var/mail/root
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 2:46 pm

carpenox wrote:it could be a few things but check your asterisk sockets first:

screen -ls

and show me the output


There are screens on:
2571.ASTemail (Detached)
2567.ASTVDadFILL (Detached)
2564.ASTfastlog (Detached)
2561.ASTVDadapt (Detached)
2376.asterisk (Detached)
2371.astshell20200630122445 (Detached)
6 Sockets in /run/screens/S-root.
You have new mail in /var/mail/root
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 3:11 pm

carpenox wrote:it could be a few things but check your asterisk sockets first:

screen -ls

and show me the output


are u there? i have shared the thing u wanted, plz guide ?
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 3:14 pm

yea your manager.conf is off, your send and listen sockets arent running
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 3:15 pm

run this command:

dahdi_cfg -vvvv
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 3:27 pm

carpenox wrote:run this command:

dahdi_cfg -vvvv


vicibox9:~ # dahdi_cfg -vvvv
DAHDI Tools Version - 3.1.0

DAHDI Version: 3.1.0
Echo Canceller(s):
Configuration
======================


Channel map:


0 channels to configure.

You have new mail in /var/mail/root
vicibox9:~ #
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 3:29 pm

carpenox wrote:run this command:

dahdi_cfg -vvvv


stiill same issue
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 3:46 pm

carpenox wrote:run this command:

dahdi_cfg -vvvv


i have agents from different countries, but this did not happen earlier. today it happened
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 3:54 pm

ok then its your manager.conf file messed up
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 3:56 pm

try this and change your passwords accordingly, make sure there isnt any other changes on yours that you need. rename it to manager.conf.bak and then use this:

Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
timestampevents = yes

[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

[sipcron]
secret = 1234
read = call
write = command

eventfilter=Event: SIPInvite
eventfilter=Event: SIPResponse
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 4:07 pm

carpenox wrote:try this and change your passwords accordingly, make sure there isnt any other changes on yours that you need. rename it to manager.conf.bak and then use this:

Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
timestampevents = yes

[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

[sipcron]
secret = 1234
read = call
write = command

eventfilter=Event: SIPInvite
eventfilter=Event: SIPResponse


u mean to say manager.conf file which is under asterisk right?
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 4:12 pm

yes but rename your existing one to manager.conf.bak incase you need to get it back then edit a whole new file called manager.conf and paste the above into it and change your passwords accordingly
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 4:27 pm

carpenox wrote:yes but rename your existing one to manager.conf.bak incase you need to get it back then edit a whole new file called manager.conf and paste the above into it and change your passwords accordingly


thank u a lot, let me do it and see how it acts up
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby Zaraab » Tue Jun 30, 2020 4:32 pm

carpenox wrote:yes but rename your existing one to manager.conf.bak incase you need to get it back then edit a whole new file called manager.conf and paste the above into it and change your passwords accordingly


vicibox9:~ # screen -ls
There are screens on:
15094.ASTVDauto (Detached)
9828.asterisk (Detached)
9823.astshell20200630203937 (Detached)
9662.ASTemail (Detached)
9659.ASTVDadFILL (Detached)
9656.ASTVDadapt (Detached)
6 Sockets in /run/screens/S-root.
vicibox9:~ #
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 5:13 pm

did you reboot? or atleast restart asterisk
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby carpenox » Tue Jun 30, 2020 7:47 pm

did this work for you?
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL

Re: time synchronization problem

Postby Zaraab » Tue Jul 07, 2020 8:55 pm

carpenox wrote:did this work for you?



Nope my friend
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
Zaraab
 
Posts: 121
Joined: Fri May 22, 2020 1:21 pm

Re: time synchronization problem

Postby carpenox » Tue Jul 07, 2020 10:53 pm

did you replace your manager.conf ? and restart asterisk
Leap 15.3 | Version: 2.14-829a | BUILD: 210911-1958| SVN Version: 3520 | DB Schema Version: 1645 | Asterisk 16.20.0-vici
www.CyburDial.net -:- 844-PC-SATA-2 -:- My Blog: http://vicidial.blog -:- Whatsapp: +19549477572 -:- Skype: live:carpenox_3
carpenox
 
Posts: 1589
Joined: Wed Apr 08, 2020 2:02 am
Location: Coral Springs, FL


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests