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 _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
