Calls disconnect on telnet not connecting (Vicibox 9.0.1)
Posted: Fri Jul 17, 2020 11:35 am
Hello there.
I'm new to vicidial and asterisk technology and i'm facing some problems. I hope that i'll be as clear as possible with the explanation so you'll have it easier to help me.
First things first.
We have two servers installed on a VMware in the cloud that works as loadbalancers. One is fully installed vicibox-9.0.1 DB/Asterisk/Web
and the second has the same vicibox version 9.0.1 but it has only asterisk on it.
Server specs:
Srv 1 (with fully vicidial installed):
---------------------------------------------
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (4 cores)
RAM: 8GB
VERSION: 2.14-744a
BUILD: 200401-1448
ViciBox_v9.x86_64-9.0.1.iso
Install mode express
Srv 2 (asterisk only installed):
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (2 cores)
RAM: 4GB
VERSION: 2.14-744a
BUILD: 200401-1448
ViciBox_v9.x86_64-9.0.1.iso
Install mode express
The number of agents logged in at peak time is around 25 agents.
The number of simultaneous calls is around 120 calls.
During the day in both servers (but not at the same time ofc) is shown this error log from time to time in the mailbox:
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 271
sometimes it shows this other error too:
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_vm_update.pl line 222
The problem is that when these warning error occurs all the calls hangs up and at the agent screen appears a message telling,
There is a time synchronization problem.
I scheduled servers to reboot nightly with the hope that the error will disappear but without success.
I read that this maybe has to do with the /etc/asterisk/manager.conf so here is the content of the file in server1:
Here is for the server2:
Meanwhile this is the content of /etc/astguiclient.conf in server1:
and here is the content of /etc/astguiclient.conf in server2 (dialer):
Hope that you'll respond as soon as possible because the problem is very frustrating and cause us lots of lose
Thanks in advance!
I'm new to vicidial and asterisk technology and i'm facing some problems. I hope that i'll be as clear as possible with the explanation so you'll have it easier to help me.
First things first.
We have two servers installed on a VMware in the cloud that works as loadbalancers. One is fully installed vicibox-9.0.1 DB/Asterisk/Web
and the second has the same vicibox version 9.0.1 but it has only asterisk on it.
Server specs:
Srv 1 (with fully vicidial installed):
---------------------------------------------
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (4 cores)
RAM: 8GB
VERSION: 2.14-744a
BUILD: 200401-1448
ViciBox_v9.x86_64-9.0.1.iso
Install mode express
Srv 2 (asterisk only installed):
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (2 cores)
RAM: 4GB
VERSION: 2.14-744a
BUILD: 200401-1448
ViciBox_v9.x86_64-9.0.1.iso
Install mode express
The number of agents logged in at peak time is around 25 agents.
The number of simultaneous calls is around 120 calls.
During the day in both servers (but not at the same time ofc) is shown this error log from time to time in the mailbox:
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 271
sometimes it shows this other error too:
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_vm_update.pl line 222
The problem is that when these warning error occurs all the calls hangs up and at the agent screen appears a message telling,
There is a time synchronization problem.
I scheduled servers to reboot nightly with the hope that the error will disappear but without success.
I read that this maybe has to do with the /etc/asterisk/manager.conf so here is the content of the file in server1:
- 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
Here is for the server2:
- 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
Meanwhile this is the content of /etc/astguiclient.conf in server1:
- Code: Select all
# /etc/astguiclient.conf - configuration elements for the astguiclient/vicidial package
# this is the astguiclient configuration file
# all comments will be lost if you run install.pl again
# Paths used by astGUIclient
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /srv/www/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
PATHDONEmonitor => /var/spool/asterisk/monitorDONE
# The IP address of this machine
VARserver_ip => X.X.X.X (main server address)
# Database connection information
VARDB_server => localhost
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_custom_user => custom
VARDB_custom_pass => custom1234
VARDB_port => 3306
# Alpha-Numeric list of the astGUIclient processes to be kept running
# (value should be listing of characters with no spaces: 1234568)
# X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
# 1 - AST_update
# 2 - AST_send_listen
# 3 - AST_VDauto_dial
# 4 - AST_VDremote_agents
# 5 - AST_VDadapt (If multi-server system, this must only be on one server)
# 6 - FastAGI_log
# 7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)
# 8 - ip_relay (used for blind agent monitoring)
# 9 - Timeclock auto logout, (If multi-server system, this must only be on one server)
# E - Email processor, (If multi-server system, this must only be on one server)
# S - SIP Logger (Patched Asterisk 13 required)
VARactive_keepalives => 123456789E
# Asterisk version VICIDIAL is installed for
VARasterisk_version => 13
# FTP recording archive connection information
VARFTP_host => 10.0.0.4
VARFTP_user => cron
VARFTP_pass => test
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://10.0.0.4
# REPORT server connection information
VARREPORT_host => 10.0.0.4
VARREPORT_user => cron
VARREPORT_pass => test
VARREPORT_port => 21
VARREPORT_dir => REPORTS
# Settings for FastAGI logging server
VARfastagi_log_min_servers => 3
VARfastagi_log_max_servers => 16
VARfastagi_log_min_spare_servers => 2
VARfastagi_log_max_spare_servers => 8
VARfastagi_log_max_requests => 1000
VARfastagi_log_checkfordead => 30
VARfastagi_log_checkforwait => 60
# Expected DB Schema version for this install
ExpectedDBSchema => 1589
and here is the content of /etc/astguiclient.conf in server2 (dialer):
- Code: Select all
# /etc/astguiclient.conf - configuration elements for the astguiclient/vicidial package
# this is the astguiclient configuration file
# all comments will be lost if you run install.pl again
# Paths used by astGUIclient
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /srv/www/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
PATHDONEmonitor => /var/spool/asterisk/monitorDONE
# The IP address of this machine
VARserver_ip => X.X.X.X (Dialer server Ip address)
# Database connection information
VARDB_server => X.X.X.X (main server ip address)
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_custom_user => custom
VARDB_custom_pass => custom1234
VARDB_port => 3306
# Alpha-Numeric list of the astGUIclient processes to be kept running
# (value should be listing of characters with no spaces: 1234568)
# X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
# 1 - AST_update
# 2 - AST_send_listen
# 3 - AST_VDauto_dial
# 4 - AST_VDremote_agents
# 5 - AST_VDadapt (If multi-server system, this must only be on one server)
# 6 - FastAGI_log
# 7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)
# 8 - ip_relay (used for blind agent monitoring)
# 9 - Timeclock auto logout, (If multi-server system, this must only be on one server)
# E - Email processor, (If multi-server system, this must only be on one server)
# S - SIP Logger (Patched Asterisk 13 required)
VARactive_keepalives => 123468
# Asterisk version VICIDIAL is installed for
VARasterisk_version => 13
# FTP recording archive connection information
VARFTP_host => 10.0.0.4
VARFTP_user => cron
VARFTP_pass => test
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://10.0.0.4
# REPORT server connection information
VARREPORT_host => 10.0.0.4
VARREPORT_user => cron
VARREPORT_pass => test
VARREPORT_port => 21
VARREPORT_dir => REPORTS
# Settings for FastAGI logging server
VARfastagi_log_min_servers => 3
VARfastagi_log_max_servers => 16
VARfastagi_log_min_spare_servers => 2
VARfastagi_log_max_spare_servers => 8
VARfastagi_log_max_requests => 1000
VARfastagi_log_checkfordead => 30
VARfastagi_log_checkforwait => 60
# Expected DB Schema version for this install
ExpectedDBSchema => 1589
Hope that you'll respond as soon as possible because the problem is very frustrating and cause us lots of lose
Thanks in advance!