[asterisk-users] FC2 and Zaptel

Jay Ray jonty_11 at yahoo.com
Wed Aug 13 11:47:26 CDT 2008


1.4 from CVS..

 Last nite...I corrected the below error by change the check in Makefile for HOTPLUG="yes to a "no" and it does not try to download and install that tar.gz file anymore..Not sure if it will cause a prob..

Later all teh install steps worked fine until I ran ztcfg which errored with - unable to open devide.." I found that /dev/zap did not exist...now a little more searching revealed that my devices for zap wer einstalledin /udev..i justl inked those to .dev.zap and ztcfg worked....looks like my  card is up and running..

Can I Just connect my homephone line to the LINE port of the X100P card and use a softphone to outpulse calls over that Line??

--- On Wed, 8/13/08, Paul Hales <pdhales at optusnet.com.au> wrote:
From: Paul Hales <pdhales at optusnet.com.au>
Subject: Re: [asterisk-users] FC2 and Zaptel
To: jonty_11 at yahoo.com, "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Date: Wednesday, August 13, 2008, 12:26 AM

Which versions of Zaptel have you tried to build?

PaulH


Jay Ray wrote:
> Any ideas, please they are highly appreciated....
>
> --- On *Mon, 8/4/08, Jay Ray /<jonty_11 at yahoo.com>/* wrote:
>
>     From: Jay Ray <jonty_11 at yahoo.com>
>     Subject: [asterisk-users] FC2 and Zaptel
>     To: asterisk-users at lists.digium.com
>     Date: Monday, August 4, 2008, 12:02 AM
>
>     Hi,
>
>      I am using an older Fedora - FC2 and trying to install
>     zaptel.(for X100P card I have - FXO with one line port and one
>     Phone port)
>
>     Fist I tried installin from RPM...as given here (also tried
>     installing Zapata)
>     http://www.voip-info.org/wiki/view/Asterisk+Linux+Fedora (FC2 is
>     at the end)
>
>     But looks like zaptel executable was not there...same for zapata...
>
>     Then I started on downloading the source, I successfully completed
>     MAKE for zaptel...but make install has following error...Full o/p
>     follows:
>     =========================================================
>     [root at fedoracore2uk zaptel]# make install
>     make[1]: Entering directory `/usr/src/zaptel'
>     make -C /lib/modules/2.6.10-1.771_FC2/build ARCH=i386
>     SUBDIRS=/usr/src/zaptel/kernel HOTPLUG_FIRMWARE=yes
>     KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o
wctdm.o
>     wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o
>     ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/
>     wcte12xp/" modules
>     make[2]: Entering directory `/lib/modules/2.6.10-1.771_FC2/build'
>
>       Building modules, stage 2.
>       MODPOST
>     *** Warning: "class_device_destroy"
>     [/usr/src/zaptel/kernel/zaptel.ko] undefined!
>     make[2]: Leaving directory `/lib/modules/2.6.10-1.771_FC2/build'
>     make[2]: Entering directory `/usr/src/zaptel/kernel/xpp/utils'
>     make[2]: Nothing to be done for `all'.
>     make[2]: Leaving directory `/usr/src/zaptel/kernel/xpp/utils'
>     make[1]: Leaving directory `/usr/src/zaptel'
>     install -d /etc/udev/rules.d
>     build_tools/genudevrules > /etc/udev/rules.d/zaptel.rules
>     build_tools/uninstall-modules dahdi 2.6.10-1.771_FC2
>     make -C /lib/modules/2.6.10-1.771_FC2/build ARCH=i386
>     SUBDIRS=/usr/src/zaptel/kernel HOTPLUG_FIRMWARE=yes
>     KBUILD_OBJ_M="pciradio.o tor2.o torisa.o wcfxo.o wct1xxp.o
wctdm.o
>     wcte11xp.o wcusb.o zaptel.o ztd-eth.o ztd-loc.o ztdummy.o
>     ztdynamic.o zttranscode.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/
>     wcte12xp/" INSTALL_MOD_PATH= INSTALL_MOD_DIR=misc modules_install
>     make[1]: Entering directory `/lib/modules/2.6.10-1.771_FC2/build'
>       INSTALL /usr/src/zaptel/kernel/pciradio.ko
>       INSTALL /usr/src/zaptel/kernel/tor2.ko
>       INSTALL /usr/src/zaptel/kernel/torisa.ko
>       INSTALL /usr/src/zaptel/kernel/wcfxo.ko
>       INSTALL /usr/src/zaptel/kernel/wct1xxp.ko
>       INSTALL /usr/src/zaptel/kernel/wct4xxp/wct4xxp.ko
>       INSTALL /usr/src/zaptel/kernel/wctc4xxp/wctc4xxp.ko
>       INSTALL /usr/src/zaptel/kernel/wctdm.ko
>       INSTALL /usr/src/zaptel/kernel/wctdm24xxp/wctdm24xxp.ko
>       INSTALL /usr/src/zaptel/kernel/wcte11xp.ko
>       INSTALL /usr/src/zaptel/kernel/wcte12xp/wcte12xp.ko
>       INSTALL /usr/src/zaptel/kernel/wcusb.ko
>       INSTALL /usr/src/zaptel/kernel/xpp/xpd_fxo.ko
>       INSTALL /usr/src/zaptel/kernel/xpp/xpd_fxs.ko
>       INSTALL /usr/src/zaptel/kernel/xpp/xpd_pri.ko
>       INSTALL /usr/src/zaptel/kernel/xpp/xpp.ko
>       INSTALL /usr/src/zaptel/kernel/xpp/xpp_usb.ko
>       INSTALL /usr/src/zaptel/kernel/zaptel.ko
>       INSTALL /usr/src/zaptel/kernel/ztd-eth.ko
>       INSTALL /usr/src/zaptel/kernel/ztd-loc.ko
>       INSTALL /usr/src/zaptel/kernel/ztdummy.ko
>       INSTALL /usr/src/zaptel/kernel/ztdynamic.ko
>       INSTALL /usr/src/zaptel/kernel/zttranscode.ko
>     make[1]: Leaving directory `/lib/modules/2.6.10-1.771_FC2/build'
>     [ `id -u` = 0 ] && /sbin/depmod -a 2.6.10-1.771_FC2 || :
>     make[1]: Entering directory `/usr/src/zaptel/kernel/xpp/utils'
>     make[1]: Nothing to be done for `all'.
>     make[1]: Leaving directory `/usr/src/zaptel/kernel/xpp/utils'
>     make[1]: Entering directory `/usr/src/zaptel/kernel/xpp/utils'
>     install -d /usr/sbin
>     install genzaptelconf fpga_load zt_registration xpp_sync lszaptel
>     xpp_blink zapconf zaptel_hardware  /usr/sbin/
>     install -d /usr/share/zaptel
>     install -m 644 ../firmwares/FPGA_1141.hex
>     ../firmwares/FPGA_1151.hex ../firmwares/FPGA_FXS.hex
>     ../firmwares/USB_FW.hex init_fxo_modes /usr/share/zaptel/
>     install ../init_card_1_30 ../init_card_2_30 ../init_card_3_30
>     ../init_card_4_30 xpp_fxloader /usr/share/zaptel/
>     install -d /usr/share/man/man8
>     install -m 644 genzaptelconf.8 fpga_load.8 zt_registration.8
>     xpp_sync.8 lszaptel.8 xpp_blink.8 zapconf.8 zaptel_hardware.8
>     /usr/share/man/man8/
>     install -d /etc/hotplug/usb
>     install -m 644 xpp_fxloader.usermap /etc/hotplug/usb/
>     # for backward compatibility and for hotplug users:
>     ln -sf /usr/share/zaptel/xpp_fxloader /etc/hotplug/usb/
>     install -d /etc/udev/rules.d
>     install -m 644 xpp.rules /etc/udev/rules.d/
>     install -d /usr/lib/perl5/site_perl/5.8.3
>     for i in Zaptel Zaptel/Xpp Zaptel/Config Zaptel/Hardware; \
>     do \
>             install -d "/usr/lib/perl5/site_perl/5.8.3/$i";
\
>     done
>     for i in Zaptel.pm Zaptel/Chans.pm Zaptel/Hardware.pm
>     Zaptel/Span.pm Zaptel/Utils.pm Zaptel/Xpp.pm Zaptel/Xpp/Line.pm
>     Zaptel/Xpp/Xbus.pm Zaptel/Xpp/Xpd.pm Zaptel/Config/Defaults.pm
>     Zaptel/Hardware/PCI.pm Zaptel/Hardware/USB.pm; \
>     do \
>             install -m 644 "zconf/$i"
>     "/usr/lib/perl5/site_perl/5.8.3/$i"; \
>     done
>     make[1]: Leaving directory `/usr/src/zaptel/kernel/xpp/utils'
>     install -d /sbin
>     install  fxotune ztcfg ztmonitor ztspeed zttest ztscan zttool /sbin/
>     install -d /usr/share/man/man8
>     install -m 644 doc/fxotune.8 doc/ztcfg.8 doc/ztmonitor.8
>     doc/ztspeed.8 doc/zttest.8 doc/ztscan.8 doc/zttool.8
>     /usr/share/man/man8/
>     /usr/bin/install -c -D -m 755 libtonezone.a /usr/lib/libtonezone.a
>     /usr/bin/install -c -D -m 755 libtonezone.so
>     /usr/lib/libtonezone.so.1.0
>     if [ `id -u` = 0 ]; then \
>             /sbin/ldconfig || : ;\
>     fi
>     rm -f /usr/liblibtonezone.so
>     /bin/ln -sf libtonezone.so.1.0 \
>             /usr/lib/libtonezone.so.1
>     /bin/ln -sf libtonezone.so.1.0 \
>             /usr/lib/libtonezone.so
>     /sbin/restorecon -v /usr/lib/libtonezone.so
>     /usr/bin/install -c -D -m 644 kernel/zaptel.h
>     /usr/include/zaptel/zaptel.h
>     /usr/bin/install -c -D -m 644 tonezone.h
>     /usr/include/zaptel/tonezone.h
>     make -C firmware hotplug-install DESTDIR= HOTPLUG_FIRMWARE=yes
>     make[1]: Entering directory `/usr/src/zaptel/firmware'
>     make[1]: *** No rule to make target
>     `zaptel-fw-oct6114-128-1.05.01.tar.gz', needed by
>     `hotplug-install'.  Stop.
>     make[1]: Leaving directory `/usr/src/zaptel/firmware'
>     make: *** [install-firmware] Error 2
>     You have new mail in /var/spool/mail/root
>     ==============================================================
>
>     Any ideas would be appreciated on how to fix this....
>
>     Thx,
>     Jay
>
>
>     _______________________________________________
>     -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>     AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>     Register Now: http://www.astricon.net
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>        http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080813/cd1515b3/attachment.htm 


More information about the asterisk-users mailing list