[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Asterisk-Start schlägt fehl: Loading module chan_zap.so failed!



Hallo zusammen,

ich habe die Frage schon im ip-phone-forum gestellt, allerdings hat dort
niemand geantwortet. Vielleicht war das Problem einfach zu
Debian-spezifisch, deshalb versuche ich es hier.

Szenario:
Ein Debian (Sarge) Rechner mit einer FritzCard PCI soll als Nebenstelle
an die bisherige Telefonanlage angebunden werden. Ich möchte nun mit den
vorhandenen Telefonen den Asterisk anrufen, welcher mir ein Freizeichen
gibt, damit ich per VoIP (Provider: Telekom) ins Festnetz telefonieren
kann.

Ich habe (IMHO) die FritzCard installiert bekommen. Treiber:
fcpci-suse93-3.11-07.tar.gz von AVM, Kernel 2.6.8-2-386 (Standard Debian
Sarge). Könnte man hier vielleicht die ISDN-Karte irgendwie testen, ob
die überhaupt tut? (Also mit welchem Programm könnte ich über die
ISDN-Karte mal eine Nebenstelle anklingeln?)

Danach Asterisk installiert:
Debian-Packages asterisk, asterisk-prompt-de, asterisk-chan-capi,
asterisk-sounds-main

Dann anhand der c't 12/05 die zapata.conf, sip.conf, rtp.conf und
extensions.conf editiert und in der modules.conf load => chan_alsa.so
und load => chan_capi.so eingefügt

Als ich dann versucht habe Asterisk zu starten kam folgendes:
<schnipp>
 [chan_zap.so] => (Zapata Telephony w/PRI)
  == Parsing '/etc/asterisk/zapata.conf': Found
Sep  9 18:45:01 WARNING[5972]: chan_zap.c:916 zt_open: Unable to open
'/dev/zap/channel': No such file or directory
Sep  9 18:45:01 ERROR[5972]: chan_zap.c:6460 mkintf: Unable to open
channel 1: No such file or directory
here = 0, tmp->channel = 1, channel = 1
Sep  9 18:45:01 ERROR[5972]: chan_zap.c:10247 setup_zap: Unable to
register channel '1-2'
Sep  9 18:45:01 WARNING[5972]: loader.c:345 ast_load_resource:
chan_zap.so: load_module failed, returning -1
  == Unregistered channel type 'Tor'
  == Unregistered channel type 'Zap'
Sep  9 18:45:01 WARNING[5972]: loader.c:440 load_modules: Loading module
chan_zap.so failed!
</schnapp>

Weiß jemand was das zu bedeuten hat und was ich falsch gemacht habe?
Ach ja, die Versionen:
Asterisk-Version:
asterisk -V
Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k

Chan-Capi-Version:
0.3.5-11 <- laut aptitude show (sehe ich irgendwo noch ne build-info dazu?)

modules.conf
<schnipp>
;
; Asterisk configuration file
;
; Module Loader configuration file
;

[modules]
autoload=yes
;
; If you want, load the GTK console right away.
; Don't load the KDE console since
; it's not as sophisticated right now.
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
;
; Intercom application is obsoleted by
; chan_oss.  Don't load it.
;
noload => app_intercom.so
;
; Explicitly load the chan_modem.so early on to be sure
; it loads before any of the chan_modem_* 's afte rit
;
load => chan_modem.so
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
;
load => chan_alsa.so
noload => chan_oss.so

load => chan_capi.so

;
; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
[global]
chan_modem.so=yes
chan_capi.so = yes
chan_zap.so = yes
</schnapp>

zapata.conf
<schnipp>
[channels]
;------------------------------------------------------------------------------
; my config
;   AVM Fritz!PCi
;------------------------------------------------------------------------------
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = local
prilocaldialplan = local
echocancel = yes
echocancelwhenbridged = no
echotraining = no
usecallerid = yes
overlapdial = no
immediate = no
group = 1
context = concept-trunk
channel = 1-2
</schnapp>

extensions.conf
<schnipp>
;------------------------------------------------------------------------------
; myConfig
;------------------------------------------------------------------------------
[general]
static = yes
writeprotect = no

[globals]
IAXINFO = guest

[default]
include => concept-trunk

;------------------------------------------------------------------------------
; Concept-Trunk (dialplan for the pbx)
;------------------------------------------------------------------------------
[concept-trunk]
exten => _X.,1,Dial(SIP/${EXTEN1}@tonline,60)
exten => _X.,2,Congestion
exten => _X.,3,Busy
exten => _X.,4,Hangup
</schnapp>

sip.conf
<schnipp>
[general]
;------------------------------------------------------------------------------
; myConfig
;------------------------------------------------------------------------------
port = 5060
bindaddr = 0.0.0.0
externip = xxx.dyndns.org
localnet = 10.0.0.0/255.255.255.0
srvlookup = yes
context = default
disallow = all
allow = ulaw
allow = alaw
allow = gsm
; T-Online VoIP Provider
register => 032223155666:xxx@tel.t-online.de/19         ; 19=interne MSN
canreinvite = no

[tonline]
type = friend
username = 032223155666
secret = xxx
host = tel.t-online.de
fromuser = 032223155666
from = 032223155666
context = default
canreinvite = no
insecure = very
nat = no
dtmfmode = info
</schnapp>

Vielen Dank im Voraus
Gruß
-Sascha-



Reply to: