Lukas Kaiser
2005-Apr-12 01:36 UTC
[Asterisk-Users] Asterisk on HP DL380 G4 - chan_zap.so problems
Hi there! I compiled asterisk on a HP DL380 G4 with Suse Linux Enterprise Server 9 (gcc 3.3.3). It compiled without any errors. I also had no problems with installing my digium hardware (WC TE110P). But when I try to start asterisk, I get the following error messages: The error messages Apr 12 10:22:37 WARNING[8756]: chan_iax2.c:4796 timing_read: Unable to acknowledge zap timer .. == Parsing '/etc/asterisk/zapata.conf': Found Apr 12 10:22:37 WARNING[8756]: chan_zap.c:924 zt_open: Unable to specify channel 1: Inappropriate ioctl for device Apr 12 10:22:37 ERROR[8756]: chan_zap.c:6460 mkintf: Unable to open channel 1: Inappropriate ioctl for device here = 0, tmp->channel = 1, channel = 1 Apr 12 10:22:37 ERROR[8756]: chan_zap.c:10247 setup_zap: Unable to register channel '1-15' Apr 12 10:22:37 WARNING[8756]: loader.c:345 ast_load_resource: chan_zap.so: load_module failed, returning -1 == Unregistered channel type 'Tor' == Unregistered channel type 'Zap' Apr 12 10:22:37 WARNING[8756]: loader.c:440 load_modules: Loading module chan_zap.so failed! Can anybody help me on this? I would really appreciate that :) Luke PS: Sorry for my English Loaded modules: Module Size Used by snd_pcm_oss 65704 0 snd_pcm 112900 1 snd_pcm_oss snd_page_alloc 16264 1 snd_pcm snd_timer 32260 1 snd_pcm snd_mixer_oss 24448 1 snd_pcm_oss snd 71012 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss soundcore 13536 1 snd edd 13720 0 joydev 14528 0 sg 41760 0 st 45212 0 sr_mod 21028 0 ide_cd 42628 0 cdrom 43036 2 sr_mod,ide_cd nvram 13448 0 wcte11xp 28448 0 zaptel 188420 1 wcte11xp hw_random 9620 0 ehci_hcd 33668 0 uhci_hcd 35728 0 thermal 16648 0 processor 21568 1 thermal fan 8196 0 button 10384 0 evdev 13952 0 battery 12804 0 ipv6 275580 17 ac 8964 0 raw 44064 0 usbcore 116700 4 ehci_hcd,uhci_hcd tg3 80516 0 isdn 145612 0 slhc 11392 1 isdn subfs 12160 1 dm_mod 59904 0 ext3 123688 1 jbd 75172 1 ext3 cciss 47332 3 sd_mod 25088 0 scsi_mod 120132 5 sg,st,sr_mod,cciss,sd_mod ztcfg -vv: Zaptel Configuration ===================== SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: Individual Clear channel (Default) (Slaves: 03) Channel 04: Individual Clear channel (Default) (Slaves: 04) Channel 05: Individual Clear channel (Default) (Slaves: 05) Channel 06: Individual Clear channel (Default) (Slaves: 06) Channel 07: Individual Clear channel (Default) (Slaves: 07) Channel 08: Individual Clear channel (Default) (Slaves: 08) Channel 09: Individual Clear channel (Default) (Slaves: 09) Channel 10: Individual Clear channel (Default) (Slaves: 10) Channel 11: Individual Clear channel (Default) (Slaves: 11) Channel 12: Individual Clear channel (Default) (Slaves: 12) Channel 13: Individual Clear channel (Default) (Slaves: 13) Channel 14: Individual Clear channel (Default) (Slaves: 14) Channel 15: Individual Clear channel (Default) (Slaves: 15) Channel 16: D-channel (Default) (Slaves: 16) Channel 17: Individual Clear channel (Default) (Slaves: 17) Channel 18: Individual Clear channel (Default) (Slaves: 18) Channel 19: Individual Clear channel (Default) (Slaves: 19) Channel 20: Individual Clear channel (Default) (Slaves: 20) Channel 21: Individual Clear channel (Default) (Slaves: 21) Channel 22: Individual Clear channel (Default) (Slaves: 22) Channel 23: Individual Clear channel (Default) (Slaves: 23) Channel 24: Individual Clear channel (Default) (Slaves: 24) Channel 25: Individual Clear channel (Default) (Slaves: 25) Channel 26: Individual Clear channel (Default) (Slaves: 26) Channel 27: Individual Clear channel (Default) (Slaves: 27) Channel 28: Individual Clear channel (Default) (Slaves: 28) Channel 29: Individual Clear channel (Default) (Slaves: 29) Channel 30: Individual Clear channel (Default) (Slaves: 30) Channel 31: Individual Clear channel (Default) (Slaves: 31) 31 channels configured. My /etc/zaptel.conf loadzone=nl defaultzone=nl span=1,1,0,ccs,hdb3,crc4 bchan=1-15,17-31 dchan=16 My /etc/asterisk/Zapata.conf [channels] language=de context=default switchtype=euroisdn signalling=pri_cpe 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 group=1 callgroup=1 pickupgroup=1 immediate=no group = 1 channel => 1-15 channel => 17-31 cat /proc/interrupts CPU0 CPU1 0: 59250969 128 IO-APIC-edge timer 1: 567 1 IO-APIC-edge i8042 2: 0 0 XT-PIC cascade 8: 1 1 IO-APIC-edge rtc 9: 0 0 IO-APIC-level acpi 12: 3955 1 IO-APIC-edge i8042 14: 46108 1 IO-APIC-edge ide0 16: 0 0 IO-APIC-level uhci_hcd, uhci_hcd 18: 0 0 IO-APIC-level uhci_hcd 19: 0 0 IO-APIC-level uhci_hcd 23: 0 0 IO-APIC-level ehci_hcd 25: 898926 1 IO-APIC-level eth0 51: 163389 1 IO-APIC-level cciss0 74: 59210249 1 IO-APIC-level t1xxp NMI: 0 0 LOC: 57896538 57896767 ERR: 0 MIS: 0