Lost Trunk
Guru
- Joined
- Aug 5, 2008
- Messages
- 228
- Reaction score
- 0
I touched on this in a reply in a previous thread but after trying a few more things (including update-source, update-scripts and update-fixes) I think I can say pretty definitely that Zaptel is NOT being installed on this system, and it has something to do with not seeing the source code. Here's part of the log from the update-source run:
As noted in my earlier post, we have no zaptel-compatible hardware but still would expect that ztdummy would be used, but apparently it is not. My earlier post is here: http://pbxinaflash.com/community/threads/resolved-zaptel-ztdummy-missing-how-to-fix.588/?t=588
And my status shows:
One other observed bug during the updates - the permissions were not properly fixed on the var/lib/asterisk/sounds subdirs ha and wx (the directory execute permissions weren't set). They HAD been set properly (I assume, at least the sounds in the WX directory worked) before I did the updates, but afterwards those two subdirs in sounds had more restrictive permissions.
Code:
make[1]: Entering directory `/usr/src/zaptel'
echo "You do not appear to have the sources for the 2.6.18-92.1.6.el5 kernel installed."
You do not appear to have the sources for the 2.6.18-92.1.6.el5 kernel installed.
exit 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/zaptel'
make: *** [all] Error 2
make[1]: Entering directory `/usr/src/zaptel'
echo "You do not appear to have the sources for the 2.6.18-92.1.6.el5 kernel installed."
You do not appear to have the sources for the 2.6.18-92.1.6.el5 kernel installed.
exit 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/src/zaptel'
make: *** [all] Error 2
install -D zaptel.init /etc/rc.d/init.d/zaptel
install -D ifup-hdlc /etc/sysconfig/network-scripts/ifup-hdlc
/sbin/chkconfig --add zaptel
Zaptel has been configured.
If you have any zaptel hardware it is now recommended to
edit /etc/default/zaptel or /etc/sysconfig/zaptel and set there an
optimal value for the variable MODULES .
I think that the zaptel hardware you have on your system is:
gcc -g -O2 -I. -g -fPIC -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-o zttool.o -c zttool.c
gcc -g -O2 -I. -g -fPIC -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"
-o zttool zttool.o -lnewt
removed `/usr/local/sbin/genzaptelconf'
`/usr/src/zaptel/kernel/xpp/utils/genzaptelconf' -> `/usr/local/sbin/genzaptelconf'
And my status shows:
Code:
********************************************************************
* PBX in a Flash Version 1.2 Daemon Status *
* Running Asterisk 1.4 *
********************************************************************
* Asterisk * ONLINE * Zaptel * OFFLINE * MySQL * ONLINE *
* SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE *
* Fail2ban * ONLINE * Ethernet0 * ONLINE * IP Connect * ONLINE *
* BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE *
* Sendmail * ONLINE * Samba * ONLINE * Webmin * ONLINE *
********************************************************************
* Running Asterisk Version : Asterisk 1.4.21.2
* Asterisk Source Version : 1.4.21.2
* Zaptel Source Version : 1.4.11
* Libpri Source Version : 1.4.7
* Addons Source Version : 1.4.7
********************************************************************
CentOS release 5.2 (Final) - 32 Bit ** Kernel: 2.6.18-92.1.6.el5
Last edited by a moderator: