Hallochen
Ich verzweifle bald, weil meine quadBRI einfach nicht gehen will. Lese seit Tagen Foren, Howtos und Dokus, ohne Erfolg. Ihr seid meine letzte Hoffnung.
Ich bekomme immer die folgende Fehlermeldung
Ich weiss nicht wo ich noch suchen kann, bin für jeden Hinweis dankbar.
Meine Konfiguration:
- quadBRI direkt am NTBA S0 Bus im TE Modus.
- bristuff-0.2.0-RC8c
Alles kompiliert sauber, Module sind geladen:
Karte wird erkannt:
ztcfg OK:
make Load OK:
Meine zaptel.conf:
Meine zapata.conf
Meine extensions.conf:
Meine sip.conf
Grüsse
Linaser
Ich verzweifle bald, weil meine quadBRI einfach nicht gehen will. Lese seit Tagen Foren, Howtos und Dokus, ohne Erfolg. Ihr seid meine letzte Hoffnung.
Ich bekomme immer die folgende Fehlermeldung
Code:
-- Executing Dial("SIP/7152-ac6c", "ZAP/g1/0123456789|7152") in new stack
May 25 11:43:30 NOTICE[12951]: app_dial.c:759 dial_exec: Unable to create channel of type 'ZAP'
== Everyone is busy/congested at this time
-- Executing Playtones("SIP/7152-ac6c", "congestion") in new stack
-- Executing Wait("SIP/7152-ac6c", "10") in new stack
Meine Konfiguration:
- quadBRI direkt am NTBA S0 Bus im TE Modus.
- bristuff-0.2.0-RC8c
Alles kompiliert sauber, Module sind geladen:
Code:
srphone01# lsmod
Module Size Used by
zaphfc 13844 0
qozap 17944 3
zaptel 227588 12 zaphfc,qozap
crc_ccitt 2176 1 zaptel
Code:
qozap: Junghanns.NET quadBRI card configured at mem 0xd0806000 IRQ 12 HZ 1000 CardID 0
qozap: S/T ports: 4 [ TE TE TE TE ]
qozap: 1 multiBRI card(s) in this box, 4 BRI ports total.
Code:
srphone01:~# ztcfg -vv
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 4: 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)
Channel 04: Individual Clear channel (Default) (Slaves: 04)
Channel 05: Individual Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)
Channel 07: Individual Clear channel (Default) (Slaves: 07)
Channel 08: Individual Clear channel (Default) (Slaves: 08)
Channel 09: D-channel (Default) (Slaves: 09)
Channel 10: Individual Clear channel (Default) (Slaves: 10)
Channel 11: Individual Clear channel (Default) (Slaves: 11)
Channel 12: D-channel (Default) (Slaves: 12)
12 channels configured.
Code:
srphone01:~/bristuff-0.2.0-RC8c/zaphfc# make load
make -C /usr/src/linux-2.6 SUBDIRS=/root/bristuff-0.2.0-RC8c/zaphfc ZAP=-I/root/bristuff-0.2.0-RC8c/zaptel-1.0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
Building modules, stage 2.
MODPOST
*** Warning: "zt_register" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_transmit" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_receive" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_ec_chunk" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_unregister" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.10'
modprobe zaptel
insmod ./zaphfc.ko
insmod: error inserting './zaphfc.ko': -1 File exists
make: *** [loadlinux26] Error 1
srphone01:~/bristuff-0.2.0-RC8c/zaphfc# rmmod zaphfc.ko
srphone01:~/bristuff-0.2.0-RC8c/zaphfc# rmmod zaphfc
ERROR: Module zaphfc does not exist in /proc/modules
srphone01:~/bristuff-0.2.0-RC8c/zaphfc# rm zaphfc.ko
srphone01:~/bristuff-0.2.0-RC8c/zaphfc# make load
make -C /usr/src/linux-2.6 SUBDIRS=/root/bristuff-0.2.0-RC8c/zaphfc ZAP=-I/root/bristuff-0.2.0-RC8c/zaptel-1.0.7 modules
make[1]: Entering directory `/usr/src/linux-2.6.10'
Building modules, stage 2.
MODPOST
*** Warning: "zt_register" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_transmit" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_receive" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_ec_chunk" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
*** Warning: "zt_unregister" [/root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko] undefined!
LD [M] /root/bristuff-0.2.0-RC8c/zaphfc/zaphfc.ko
make[1]: Leaving directory `/usr/src/linux-2.6.10'
modprobe zaptel
insmod ./zaphfc.ko
ztcfg -v
Zaptel Configuration
======================
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 399-533 feet (DSX-1)
12 channels configured.
Code:
srphone01:~# cat /etc/zaptel.conf
loadzone=nl
defaultzone=nl
span=1,1,3,ccs,ami
span=2,0,3,ccs,ami
span=3,0,3,ccs,ami
span=4,0,3,ccs,ami
bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
bchan=10,11
dchan=12
Code:
srphone01:~# cat /etc/asterisk/zapata.conf
[channels]
switchtype=euroisdn
signalling = bri_cpe_ptmp
pridialplan=dynamic
prilocaldialplan=local
nationalprefix = 0
internationalprefix = 00
usecallingpres=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=100
context=isdn-incomming
group=1
channel => 1-2
channel => 4-5
channel => 7-8
channel => 10-11
Code:
srphone01:~# cat /etc/asterisk/extensions.conf
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=Zap/g1 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[default]
exten => 7152,1,Dial(SIP/7152,10)
exten => 7152,2,Voicemail(u7152)
exten => sven,1,Goto(7152|1) ; alias mark to 6275
[isdn-incoming]
exten => _X.,1,Dial(SIP/phone${EXTEN}),7152)
exten => _X.,2,Hangup
[sip-phones]
exten => _X.,1,Dial(ZAP/g1/${EXTEN},7152)
exten => _X.,2,Hangup
; if the called party is busy
exten => _X.,102,Playtones(busy)
exten => _X.,103,Wait(10)
exten => _X.,104,Hangup
; if all zaptel channels in that group are in use
; or the D channels are down
exten => _X.,202,Playtones(congestion)
exten => _X.,203,Wait(10)
exten => _X.,204,Hangup
Code:
srphone01:~/bristuff-0.2.0-RC8c/zaphfc# cat /etc/asterisk/sip.conf
[general]
context=sip-phones
port=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
[7152]
type=friend
host=dynamic
username=7152
context=sip-phones
Grüsse
Linaser