I've installed Asterisk 1.6.0.26 and ThirdLane Manager 6.0.1.78 onto CentOS 5.4. When i start up ThirdLane Manager i get a message "Could not connect to manager interface" and lose functionatily. The work around I found was to SSH into the server and run the command:
[root@server ~]# asterisk -c
At the end of the display it will show:
Asterisk Ready
*CLI>
Full functionality will return to ThirdLane.
The problem is if I close this SSH session the message "Could not connect to manager interface" will reappear and I will be back to square one.
Is there any way to have Asterisk always running in the background.
Dahdi Error
Thank you Matt
Unfortunately I can't go that far. I realized after your post that dahdi was never installed. When I go through the installation process I get the following
[root@server dahdi-linux-complete-2.2.1+2.2.1]# make
make -C linux all
make[1]: Entering directory `/root/dahdi-linux-complete-2.2.1+2.2.1/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/root/dahdi-linux-complete-2.2.1+2.2.1/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/root/dahdi-linux-complete-2.2.1+2.2.1/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 2.6.18-164.el5PAE kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/root/dahdi-linux-complete-2.2.1+2.2.1/linux'
make: *** [all] Error 2
I've spent all day attempting to locate the source code for a 2.6.18-164.el5PAE kernel without much success.
Any suggestions as to where I can look?
let me guess, you installed
let me guess, you installed the iso.... well yea.. the iso is missing LOTS of packages you need to compile and install
for starters...
yum groupinstall 'development-tools'
then you need to
yum install kernel-PAE-devel kernel-headers
you probably arent running the same kernel that you are about to grab the source for...
so
yum update
THEN REBOOT before compiling
all good
Thank you Matt and Erik
This was a fresh install of everything. I installed CentOS, asterisk, webmin etc seperatly via yums and rpm.
It was a combination of the missing packages and the starting up of DAHDI.
Everything is working great now after following your instructions.
Thank you
Did you run 'make config'?
Once you do that you should be able to '/etc/init.d/asterisk start'
chkconfig dahdi on
chkconfig asterisk on
Those commands will start them when the system boots up.
-Matt