I am having trouble getting Asterisk to compile the zaptel stuff. Here are the specifics: Linux Kernel 2.5.9-42.0.8.EL Asterisk 1.4.0 I compiled libpri, zaptel, asterisk and asterisk-addons (in that order). This is a fresh install of CentOS. Following the CentOS install, I did "yum -y update" until there were no updates left. Here is my src directory: drwxr-xr-x 24 root root 4096 Feb 9 23:25 asterisk drwxr-xr-x 9 root root 4096 Feb 9 23:28 asterisk-addons drwxr-xr-x 3 1000 1000 4096 Dec 6 2005 asterisk-sounds drwxr-xr-x 6 root root 4096 Feb 6 17:56 kernels drwxr-xr-x 2 root root 4096 Feb 9 23:19 libpri lrwxrwxrwx 1 root root 38 Feb 9 23:22 linux-2.6 -> /usr/src/kernels/2.6.9-42.0.8.EL-i686/ drwxr-xr-x 7 root root 4096 Feb 6 10:43 redhat drwxr-xr-x 10 root root 12288 Feb 9 23:25 zaptel [root@voip1 src]# cd /usr/lib/asterisk/modules/ [root@voip1 modules]# ls -l *zap* -rwxr-xr-x 1 root root 119069 Feb 9 23:26 app_zapateller.so That's the only thing there (with zap, that is). The zaptel compiled and installed ok, as I can run the zttool or ztcfg to see the cards being recognized and configured. What am I missing? -- Butch Evans Network Engineering and Security Consulting 573-276-2879 http://www.butchevans.com/ My calendar: http://tinyurl.com/y24ad6 Training Partners: http://tinyurl.com/smfkf Mikrotik Certified Consultant http://www.mikrotik.com/consultants.html
cOMO REALIZAS LA INSTALCION, DEBES CONSEGUIR LOS TAR.GZ DE ZAPTEL y luego compilar asi: #yum install kernel kernel-devel gcc Con esto actualizas el kernel con sus fuentes y el gcc #vi /etc/grub.conf seleccionas el nuevo kernel como por default # reboot reinicias para que se ejecute el nuevo kernel luego de eso instalas lo necesario y cuando te toque el zaptel descomprimes la version de zaptel que tengas zaptel.x.y.z.tar.gz en /usr/src y luego ejecutas #make linux26 #make install y listo 2007/2/12, Butch Evans <butche@butchevans.com>:> > I am having trouble getting Asterisk to compile the zaptel stuff. > Here are the specifics: > Linux Kernel 2.5.9-42.0.8.EL > Asterisk 1.4.0 > > I compiled libpri, zaptel, asterisk and asterisk-addons (in that > order). This is a fresh install of CentOS. Following the CentOS > install, I did "yum -y update" until there were no updates left. > > Here is my src directory: > drwxr-xr-x 24 root root 4096 Feb 9 23:25 asterisk > drwxr-xr-x 9 root root 4096 Feb 9 23:28 asterisk-addons > drwxr-xr-x 3 1000 1000 4096 Dec 6 2005 asterisk-sounds > drwxr-xr-x 6 root root 4096 Feb 6 17:56 kernels > drwxr-xr-x 2 root root 4096 Feb 9 23:19 libpri > lrwxrwxrwx 1 root root 38 Feb 9 23:22 linux-2.6 -> > /usr/src/kernels/2.6.9-42.0.8.EL-i686/ > drwxr-xr-x 7 root root 4096 Feb 6 10:43 redhat > drwxr-xr-x 10 root root 12288 Feb 9 23:25 zaptel > > > [root@voip1 src]# cd /usr/lib/asterisk/modules/ > [root@voip1 modules]# ls -l *zap* > -rwxr-xr-x 1 root root 119069 Feb 9 23:26 app_zapateller.so > > That's the only thing there (with zap, that is). The zaptel > compiled and installed ok, as I can run the zttool or ztcfg to see > the cards being recognized and configured. What am I missing? > > -- > Butch Evans > Network Engineering and Security Consulting > 573-276-2879 > http://www.butchevans.com/ > My calendar: http://tinyurl.com/y24ad6 > Training Partners: http://tinyurl.com/smfkf > Mikrotik Certified Consultant > http://www.mikrotik.com/consultants.html > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Juan Carlos G?mez R. Quito, Ecuador Home: (593)-2-2591218 Mobil: (593)-9-2060171 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070212/425bf5d6/attachment.htm
On Mon, 2007-02-12 at 11:59 -0600, Butch Evans wrote:> I am having trouble getting Asterisk to compile the zaptel stuff. > Here are the specifics: > Linux Kernel 2.5.9-42.0.8.EL > Asterisk 1.4.0 > > I compiled libpri, zaptel, asterisk and asterisk-addons (in that > order). This is a fresh install of CentOS. Following the CentOS > install, I did "yum -y update" until there were no updates left. > > Here is my src directory: > drwxr-xr-x 24 root root 4096 Feb 9 23:25 asterisk > drwxr-xr-x 9 root root 4096 Feb 9 23:28 asterisk-addons > drwxr-xr-x 3 1000 1000 4096 Dec 6 2005 asterisk-sounds > drwxr-xr-x 6 root root 4096 Feb 6 17:56 kernels > drwxr-xr-x 2 root root 4096 Feb 9 23:19 libpri > lrwxrwxrwx 1 root root 38 Feb 9 23:22 linux-2.6 -> > /usr/src/kernels/2.6.9-42.0.8.EL-i686/ > drwxr-xr-x 7 root root 4096 Feb 6 10:43 redhat > drwxr-xr-x 10 root root 12288 Feb 9 23:25 zaptel > > > [root@voip1 src]# cd /usr/lib/asterisk/modules/ > [root@voip1 modules]# ls -l *zap* > -rwxr-xr-x 1 root root 119069 Feb 9 23:26 app_zapateller.so >The zaptel modules are installed into the kernel modules directory and not where you are looking. For your kernel look into: /lib/modules/2.6.9-42.0.8.EL/misc Also remember to do a "make config" in the zaptel source to install the init files so zaptel will load automatically when you boot. -- Telecomunicaciones Abiertas de Mexico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070212/1e79b094/attachment.pgp
On Mon, Feb 12, 2007 at 11:59:55AM -0600, Butch Evans wrote:> I am having trouble getting Asterisk to compile the zaptel stuff. > Here are the specifics: > Linux Kernel 2.5.9-42.0.8.EL > Asterisk 1.4.0 > > I compiled libpri, zaptel, asterisk and asterisk-addons (in that > order). This is a fresh install of CentOS. Following the CentOS > install, I did "yum -y update" until there were no updates left. > > Here is my src directory: > drwxr-xr-x 24 root root 4096 Feb 9 23:25 asterisk > drwxr-xr-x 9 root root 4096 Feb 9 23:28 asterisk-addons > drwxr-xr-x 3 1000 1000 4096 Dec 6 2005 asterisk-sounds > drwxr-xr-x 6 root root 4096 Feb 6 17:56 kernels > drwxr-xr-x 2 root root 4096 Feb 9 23:19 libpri > lrwxrwxrwx 1 root root 38 Feb 9 23:22 linux-2.6 -> > /usr/src/kernels/2.6.9-42.0.8.EL-i686/ > drwxr-xr-x 7 root root 4096 Feb 6 10:43 redhat > drwxr-xr-x 10 root root 12288 Feb 9 23:25 zaptel > > > [root@voip1 src]# cd /usr/lib/asterisk/modules/ > [root@voip1 modules]# ls -l *zap* > -rwxr-xr-x 1 root root 119069 Feb 9 23:26 app_zapateller.so > > That's the only thing there (with zap, that is). The zaptel > compiled and installed ok, as I can run the zttool or ztcfg to see > the cards being recognized and configured. What am I missing?Zaptel is installed. The problem is with the configuration of Asterisk. What version of zaptel have you installed? To check if the configure script detected zaptel: grep ZAPTEL= build_tools/menuselect-deps To check if it is actively disables by the menuselect: grep -w chan_zap menuselect.makeopts In the latter: if you see 'chan_zap' in the line MENUSELECT_CHANNEL, it is disabled (which is a bit counter-intiutive). -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
On Tue, 13 Feb 2007, Tzafrir Cohen wrote:>Zaptel is installed. The problem is with the configuration of >Asterisk.I found the problem...Thanks. I have a T1 card and a 4 port analog. The T1 is not (yet) turned on, and the config was not working since I tried to configure the T1 card anyway. Thanks for the input... -- Butch Evans Network Engineering and Security Consulting 573-276-2879 http://www.butchevans.com/ My calendar: http://tinyurl.com/y24ad6 Training Partners: http://tinyurl.com/smfkf Mikrotik Certified Consultant http://www.mikrotik.com/consultants.html