Unable to create channel of type 'Zap'

I installed Asterisk 1.0.10-BRIstuffed-0.2.0-RC8q on a Debian Sarge System (Kernel 2.6.13). I am using two HFC-Cards, one in TE, one in TF-Mode.

After a few hours Asterisk starts to complain “Unable to create channel of type ‘Zap’”, when somebody is trying to call out. After restarting Asterisk everything works normally for the next few hours until the problem starts from the beginning. Any Suggestions?


/etc/zaptel.conf:

[code]
loadzone=uk
defaultzone=uk

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

span=2,0,3,ccs,ami
bchan=4-5
dchan=6[/code]

/etc/asterisk/zapata.conf

[code];
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

trunkgroup => 1,3
trunkgroup => 2,6

spanmap => 1,1
spanmap => 2,2

[channels]

language=de
context=default
pridialplan=local
prilocaldialplan=local
rxwink=300 ; Atlas seems to use long (250ms) winks
usecallerid=yes
callwaitingcallerid=yes
threewaycalling=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
immediate=no

switchtype=euroisdn
signalling = bri_cpe_ptmp
group = 2
context=externS0
channel => 4-5[/code]

cat /proc/interrupts

CPU0 0: 60104477 XT-PIC timer 1: 2 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 59269973 XT-PIC eth1 7: 504250656 XT-PIC zaphfc 10: 49484382 XT-PIC eth0 11: 504236870 XT-PIC zaphfc 14: 615161 XT-PIC ide0 15: 7 XT-PIC ide1