I just re-intall ViciDial following the SCRATCH_INSTALL file, then replaced my old files to ' /etc/asterisk/ ' folder. After that i keep getting message
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_conf_update.pl line 188
problem connecting to "localhost", port 5038: Connection refused at /usr/share/astguiclient/AST_vm_update.pl line 188
My Asterisk is working greate when manually started, as well as i can make calls to external numbers. But when i try to start asterisk using the command,
/usr/share/astguiclient/start_asterisk_boot.pl
Asterisk does not start and i receive the above connection refused messages.
The CLI output for manually started asterisk is :
*CLI>
*CLI>
*CLI> == Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
Asterisk 1.2.24
ViciDial 2.0.4
I have RedHat AS4 server, firewall is disabled. Even i can telnet to port 5038 remotely and it can connects to ' Asterisk Call Manager'.
Any idea, i have reinstalled everything twice but the result is same.
I meant that you should check the server_ip and possibly try another one of the server's IP addresses(like 127.0.0.1) some systems do not have Asterisk listening on all IP addresses for some reason.
I have only one IP Address on this machine. Also, as i mentioned in my earlier post that i can telnet to port 5038 both localhost interactively as well as remotely to IP address and was able to connect to Asterisk Call Manager.
Op3r:
Firewall on this machine disabled, also ' iptables -L ' does not show any result, it is empty.
The problem was with the 'screen' installation. Somehow it was not correctly installed while following SCRATCH_INSTALL document. I found the below post and eventually got the 'Connection refused on port 5038' resolved.
Can you please shed some light on ViciDial's dependency on 'Screen'.
Also, i tried to install Vicidial using both 2.0.4 and 2.0.4rc2 SCRATCH_INSTALL documents several times, but the connection refuse error was same. As soon as i link the screen following the procedure you mentioned earlier its started working. This seems that Screen-4.0.2 is not being properly installed using ./configure, make and make install.
Please note that all the installations were done on RedHat AS4 at my end.
We do not test our installs on RedHat-family systems, only Slackware and OpenSUSE. The dependance on screen is so that an administrator can attach to any of the running processes to debug what is going on on the system at any time. This is especially important with Asterisk because there is some output that is only viewable from the Real Aserisk CLI.