I have some problems starting asterisk with a hfc card using zaphfc: [chan_zap.so]Mar 8 17:53:06 WARNING[2447]: loader.c:258 ast_load_resource: /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: ast_retrieve_call_to_death Mar 8 17:53:06 WARNING[2447]: loader.c:391 load_modules: Loading module chan_zap.so failed! I'm using asterisk from debian/sid: Asterisk 1.0.5-BRIstuffed-0.2.0-RC7e zaptel modules are version 1.0.4 zaphfc is from bristuff-0.2.0-RC7e and it's compiled against zaptel source version 1.0.4 I do things in this order: modprobe zapata modprobe zaphfc ztcfg -vv asterisk -cvvvv rmmod zaphfc rmmod zapata Here are the config files: ############### zaptel.conf: span=1,1,3,ccs,ami bchan=1-2 dchan=3 ############# zapata.conf: switchtype = euroisdn signalling = bri_net_ptmp pridialplan=local echocancel=yes immediate=yes group = 1 context=local channel => 1-2 ###### modules.conf [modules] autoload=yes noload => pbx_gtkconsole.so ;load => pbx_gtkconsole.so noload => pbx_kdeconsole.so noload => app_intercom.so noload => chan_modem.so load => chan_zap.so load => res_musiconhold.so noload => chan_alsa.so noload => chan_oss.so [global] chan_modem.so=no chan_zap.so=yes ########################## KERNEL MODULE INSERTION MESSAGES AND ZTCFG: ciop:~# modprobe zaptel;modprobe zaphfc;tail -20 /var/log/kern.log;ztcfg -vv Mar 8 17:56:06 ciop kernel: Zapata Telephony Interface Registered on major 196 Mar 8 17:56:06 ciop kernel: PCI: Enabling device 0000:00:06.0 (0000 -> 0003) Mar 8 17:56:06 ciop kernel: ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 169 Mar 8 17:56:06 ciop kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd081ff00 fifo 0xc6628000(0x6628000) IRQ 169 HZ 1000 Mar 8 17:56:06 ciop kernel: zaphfc: Card 0 configured for TE mode Mar 8 17:56:06 ciop kernel: zaphfc: 1 hfc-pci card(s) in this box. Mar 8 17:56:27 ciop kernel: zaphfc: stop Mar 8 17:56:27 ciop kernel: zaphfc: shutting down card at d081ff00. Mar 8 17:56:27 ciop kernel: unregistered from zaptel. Mar 8 17:56:27 ciop kernel: zaphfc: freed one card. Mar 8 17:56:27 ciop kernel: Zapata Telephony Interface Unloaded Mar 8 17:56:58 ciop kernel: Zapata Telephony Interface Registered on major 196 Mar 8 17:56:58 ciop kernel: PCI: Enabling device 0000:00:06.0 (0000 -> 0003) Mar 8 17:56:58 ciop kernel: ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 17 (level, low) -> IRQ 169 Mar 8 17:56:58 ciop kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd081ff00 fifo 0xc66c8000(0x66c8000) IRQ 169 HZ 1000 Mar 8 17:56:58 ciop kernel: zaphfc: Card 0 configured for TE mode Mar 8 17:56:58 ciop kernel: zaphfc: 1 hfc-pci card(s) in this box. Zaptel Configuration ===================== SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. ###################### KERNEL MODULE REMOVAL ciop:~# rmmod zaphfc;rmmod zaptel;tail -20 /var/log/kern.log Mar 8 18:02:09 ciop kernel: zaphfc: stop Mar 8 18:02:09 ciop kernel: zaphfc: shutting down card at d081ff00. Mar 8 18:02:09 ciop kernel: unregistered from zaptel. Mar 8 18:02:09 ciop kernel: zaphfc: freed one card. Mar 8 18:02:09 ciop kernel: Zapata Telephony Interface Unloaded ########## ERRORS FROM THE KERNEL MODULE Mar 8 17:57:46 ciop kernel: zaphfc: bchan rx fifo not enough bytes to receive! (z1=528, z2=527, wanted 8 got 2), probably a buffer overrun. Mar 8 17:58:34 ciop kernel: zaphfc: bchan rx fifo not enough bytes to receive! (z1=528, z2=527, wanted 8 got 2), probably a buffer overrun. Mar 8 17:59:23 ciop kernel: zaphfc: bchan rx fifo not enough bytes to receive! (z1=528, z2=527, wanted 8 got 2), probably a buffer overrun. Mar 8 18:00:11 ciop kernel: zaphfc: bchan rx fifo not enough bytes to receive! (z1=528, z2=527, wanted 8 got 2), probably a buffer overrun. Mar 8 18:01:00 ciop kernel: zaphfc: bchan rx fifo not enough bytes to receive! (z1=528, z2=527, wanted 8 got 2), probably a buffer overrun. Mar 8 18:01:48 ciop kernel: zaphfc: bchan rx fifo not enough bytes to receive! (z1=528, z2=527, wanted 8 got 2), probably a buffer overrun. TIA ciao
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 8 Mar 2005, Marco Parmeggiani wrote:> I have some problems starting asterisk with a hfc card using zaphfc: > > [chan_zap.so]Mar 8 17:53:06 WARNING[2447]: loader.c:258 ast_load_resource: > /usr/lib/asterisk/modules/chan_zap.so: undefined symbol: > ast_retrieve_call_to_death > Mar 8 17:53:06 WARNING[2447]: loader.c:391 load_modules: Loading module > chan_zap.so failed! > > > I'm using asterisk from debian/sid: > Asterisk 1.0.5-BRIstuffed-0.2.0-RC7e > zaptel modules are version 1.0.4 > zaphfc is from bristuff-0.2.0-RC7e and it's compiled against zaptel source > version 1.0.4- - - - - - 8< snipped Change your:> load => chan_zap.so > load => res_musiconhold.soTo: load => res_features.so load => res_musiconhold.so load => chan_zap.so HTH - -- Ron Wellsted http://www.wellsted.org.uk ron@wellsted.org.uk FWD: 519961 N 52.567623, W 2.137621 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iQEVAwUBQi3uKktP/KMNOfRbAQKqwggAoCuBI8ZAw7JzreLD6Ia6ffLzAEW362mY ZeDKPnXE+IdyTKOH+B1Z6a1h+fiDtCcvTpYmJXqDrpZGi8XtxPFLtz+o+UFcN1xx d/cUOBu1h0NsJdq4CESBfOvpCCfzXbpNmQlpGj3SCcX0AEb7OATbvLj24o8/fIO7 yc4nsBHPrvztJytRE9vPERS4MhBH4HABnnlxeUMi+e2N7PohoLEyJXMPQ9254jwW 9zdUyVySyHPyiWPhyOs5a0IxvTbPnKox42HzNbWvlazV3Im3ly7EKEg5B6y2YijS MvJSmgpUc+V9ef2/HWB3mLg8cgEi2WF5NjWxW4CpunN1l8xNmzikkw==kfgm -----END PGP SIGNATURE-----
I have problems to install zaphfc on system base on knoppix 3.8. with kernel update to 2.6.11.8 with bristuff-0.2.0-RC8d-CVS please help !! ztcfg ZT_SPANCONFIG failed on span 1: No such device or address (6) lspci 0000:00:08.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02) 0000:00:09.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02) download bristuff-0.2.0-RC8d-CVS update: /usr/src/linux/include/asm/irq.h In line 16 change: #include "irq-vectors.h" to: #include "mach-default/irq-vectors.h" /usr/src/linux/include/asm/mpspec.h In line 6 change: <mach_mpspec.h> to: <asm/mach-default/mach_mpspec.h> /usr/src/linux/include/asm/smp.h In line 71 change: <mach_apicdef.h> to: <asm/mach-default/mach_apicdef.h> --------------------------------------------------------------------------------- cd zaptel make linux26 make install (no compile errors) cd libpri make make install (no compile errors) cd zaphfc make linux26 make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc ZAP=-I/usr/src/bristuff-0.2.0-RC8d-CVS/zaptel modules make[1]: Entering directory `/usr/src/linux-2.6.11.8' Building modules, stage 2. MODPOST *** Warning: "zt_register" [/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko] undefined! *** Warning: "zt_transmit" [/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko] undefined! *** Warning: "zt_receive" [/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko] undefined! *** Warning: "zt_ec_chunk" [/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko] undefined! *** Warning: "zt_unregister" [/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko] undefined! make[1]: Leaving directory `/usr/src/linux-2.6.11.8' root@vger:/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc# make install install -D -m 644 zaphfc.ko /lib/modules/`uname -r`/misc/zaphfc.ko my /etc/zaptel.conf loadzone=it span=1,1,3,ccs,ami bchan=1-2 dchan=3 span=2,1,3,ccs,ami bchan=4-5 dchan=6 my /etc/Asterisk/zapata.conf [channels] language=en switchtype=euroisdn ;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown. pridialplan=unknown prilocaldialplan=unknown signalling = bri_net_ptmp usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 language=en switchtype=euroisdn ;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown. pridialplan=unknown prilocaldialplan=unknown signalling = bri_net_ptmp usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes [channels] language=en switchtype=euroisdn ;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to unknown. pridialplan=unknown prilocaldialplan=unknown signalling = bri_net_ptmp usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 lsmod Module Size Used by zaphfc 15892 0 zaptel 225284 1 zaphfc crc_ccitt 5888 1 zaptel ----------------------------------------------------------------------- ___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! http://it.messenger.yahoo.it