Page 1 of 1

time synchronization problem

PostPosted: Tue Jun 30, 2020 2:27 pm
by Zaraab
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?

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 2:36 pm
by carpenox
it could be a few things but check your asterisk sockets first:

screen -ls

and show me the output

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 2:38 pm
by Zaraab
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

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 2:46 pm
by Zaraab
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

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:11 pm
by Zaraab
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 ?

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:14 pm
by carpenox
yea your manager.conf is off, your send and listen sockets arent running

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:15 pm
by carpenox
run this command:

dahdi_cfg -vvvv

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:27 pm
by Zaraab
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:~ #

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:29 pm
by Zaraab
carpenox wrote:run this command:

dahdi_cfg -vvvv


stiill same issue

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:46 pm
by Zaraab
carpenox wrote:run this command:

dahdi_cfg -vvvv


i have agents from different countries, but this did not happen earlier. today it happened

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:54 pm
by carpenox
ok then its your manager.conf file messed up

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 3:56 pm
by carpenox
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

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 4:07 pm
by Zaraab
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?

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 4:12 pm
by carpenox
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

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 4:27 pm
by Zaraab
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

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 4:32 pm
by Zaraab
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:~ #

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 5:13 pm
by carpenox
did you reboot? or atleast restart asterisk

Re: time synchronization problem

PostPosted: Tue Jun 30, 2020 7:47 pm
by carpenox
did this work for you?

Re: time synchronization problem

PostPosted: Tue Jul 07, 2020 8:55 pm
by Zaraab
carpenox wrote:did this work for you?



Nope my friend

Re: time synchronization problem

PostPosted: Tue Jul 07, 2020 10:53 pm
by carpenox
did you replace your manager.conf ? and restart asterisk