Phil Freed
2006-Mar-10 11:04 UTC
[Asterisk-Users] Yet again: chan_zap.c: Unable to specify channel 4: No such device
I have seen this in the archives any number of times -- but I have yet to
find a solution that works for me. Any suggestions you can offer would be
most appreciated.
Here are the answers to the questions I have seen asked in earlier
posts. The log contains:
Mar 10 12:26:29 WARNING[3015] chan_zap.c: Unable to specify channel 4: No
such device
Mar 10 12:26:29 ERROR[3015] chan_zap.c: Unable to open channel 4: No such
device
here = 0, tmp->channel = 4, channel = 4
Mar 10 12:26:29 ERROR[3015] chan_zap.c: Unable to register channel '4'
Mar 10 12:26:29 WARNING[3015] loader.c: chan_zap.so: load_module failed,
returning -1
Mar 10 12:26:29 WARNING[3015] loader.c: Loading module chan_zap.so failed!
= = = = = = = = = = = = = = = = = = = = = = = = = = = Hardware:
Card: Freshmaker Rev J
#3: X100M Rev C
#4: S110M Rev A
There is only one PCI slot in this mini PC -- so I cannot try another slot.
= = = = = = = = = = = = = = = = = = = = = = = = = = = # ztcfg -vv
Zaptel Configuration
=====================Channel map:
Channel 03: FXS Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
2 channels configured.
= = = = = = = = = = = = = = = = = = = = = = = = = = = zaptel.conf:
===========unused=1,2
fxoks=4
fxsks=3
loadzone=us
defaultzone=us
= = = = = = = = = = = = = = = = = = = = = = = = = = = zapata.conf
==========context=incoming
group=1
signalling=fxs_ks
channel => 3
context=internal
group=2
signalling=fxo_ks
channel => 4
[incoming]
; incoming calls from the FXO port are directed to this context from
zapata.conf
exten => s,1,Answer()
exten => s,2,Echo()
[internal]
exten => 611,1,Answer()
exten => 611,2,Echo()
= = = = = = = = = = = = = = = = = = = = = = = = = = = # cat /proc/interrupts
CPU0 CPU1
0: 110443 103849 IO-APIC-edge timer
1: 10 0 IO-APIC-edge i8042
7: 0 0 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc
9: 1 0 IO-APIC-level acpi
12: 102 0 IO-APIC-edge i8042
14: 6414 2123 IO-APIC-edge ide0
15: 3659 3704 IO-APIC-edge ide1
169: 598 0 IO-APIC-level libata, eth0
177: 0 0 IO-APIC-level Intel ICH5
185: 3 0 IO-APIC-level ohci1394
193: 0 0 IO-APIC-level i915@pci:0000:00:02.0
201: 88523 90036 IO-APIC-level wctdm
NMI: 0 0
LOC: 214224 214223
ERR: 0
MIS: 0
==============
Phil Freed
2006-Mar-10 15:06 UTC
[Asterisk-Users] Yet again: chan_zap.c: Unable to specify channel 4: No such device
Thre more bits of info -- 1) I have an identical Digium card. I tried swapping out the FXS module with the one in this system, and I tried switching cards -- but to no avail. So it's likely to be a system or configuration problem. 2) The system is an xPC running Fedora core 4 SMP: 2.6.15-1.1831_FC4smp 3) Asterisk and the other modules where all checked out a few days ago using cvs checkout -rv1-2 asterisk zaptel libpri Any help you might provide would be welcome; it's rather urgent that I get this running. At 01:04 PM 3/10/2006, Phil Freed wrote:>I have seen this in the archives any number of times -- but I have yet to >find a solution that works for me. Any suggestions you can offer would be >most appreciated. > >Here are the answers to the questions I have seen asked in earlier >posts. The log contains: > >Mar 10 12:26:29 WARNING[3015] chan_zap.c: Unable to specify channel 4: No >such device >Mar 10 12:26:29 ERROR[3015] chan_zap.c: Unable to open channel 4: No such >device >here = 0, tmp->channel = 4, channel = 4 >Mar 10 12:26:29 ERROR[3015] chan_zap.c: Unable to register channel '4' >Mar 10 12:26:29 WARNING[3015] loader.c: chan_zap.so: load_module failed, >returning -1 >Mar 10 12:26:29 WARNING[3015] loader.c: Loading module chan_zap.so failed! > > >= = = = = = = = = = = = = = = = = = = = = = = = = = = >Hardware: > >Card: Freshmaker Rev J > #3: X100M Rev C > #4: S110M Rev A > >There is only one PCI slot in this mini PC -- so I cannot try another slot. > > >= = = = = = = = = = = = = = = = = = = = = = = = = = = ># ztcfg -vv > >Zaptel Configuration >=====================>Channel map: > >Channel 03: FXS Kewlstart (Default) (Slaves: 03) >Channel 04: FXO Kewlstart (Default) (Slaves: 04) > >2 channels configured. > > >= = = = = = = = = = = = = = = = = = = = = = = = = = = >zaptel.conf: >===========>unused=1,2 >fxoks=4 >fxsks=3 >loadzone=us >defaultzone=us > > >= = = = = = = = = = = = = = = = = = = = = = = = = = = >zapata.conf >==========>context=incoming >group=1 >signalling=fxs_ks >channel => 3 > >context=internal >group=2 >signalling=fxo_ks >channel => 4 > >[incoming] >; incoming calls from the FXO port are directed to this context from >zapata.conf >exten => s,1,Answer() >exten => s,2,Echo() > >[internal] >exten => 611,1,Answer() >exten => 611,2,Echo() > >= = = = = = = = = = = = = = = = = = = = = = = = = = = ># cat /proc/interrupts > > CPU0 CPU1 > 0: 110443 103849 IO-APIC-edge timer > 1: 10 0 IO-APIC-edge i8042 > 7: 0 0 IO-APIC-edge parport0 > 8: 1 0 IO-APIC-edge rtc > 9: 1 0 IO-APIC-level acpi > 12: 102 0 IO-APIC-edge i8042 > 14: 6414 2123 IO-APIC-edge ide0 > 15: 3659 3704 IO-APIC-edge ide1 >169: 598 0 IO-APIC-level libata, eth0 >177: 0 0 IO-APIC-level Intel ICH5 >185: 3 0 IO-APIC-level ohci1394 >193: 0 0 IO-APIC-level i915@pci:0000:00:02.0 >201: 88523 90036 IO-APIC-level wctdm >NMI: 0 0 >LOC: 214224 214223 >ERR: 0 >MIS: 0 > >=============> >_______________________________________________ >--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