Also habe es nochmal gemacht.
Jetzt scheint es zu funktionieren nur ich habe das Gefühl irgendwas stimmt nicht .
Folgende Meldung bekomme ich beim Starten von Asterisk:
asterisk -vvvvvgc
Code:
...
== Parsing '/etc/asterisk/musiconhold.conf': Found
[chan_zap.so] => (Zapata Telephony w/PRI)
== Parsing '/etc/asterisk/zapata.conf': Found
-- Registered channel 1, PRI Signalling signalling
-- Registered channel 2, PRI Signalling signalling
-- Automatically generated pseudo channel
Dec 26 16:37:38 ERROR[7341]: chan_zap.c:9030 start_pri: Unable to open D-channel 24 (No such device or address)
Dec 26 16:37:38 ERROR[7341]: chan_zap.c:10843 setup_zap: Unable to start D-channel on span 1
Dec 26 16:37:38 WARNING[7341]: loader.c:414 __load_resource: chan_zap.so: load_module failed, returning -1
-- Unregistered channel 1
-- Unregistered channel 2
-- Unregistered channel 3
Dec 26 16:37:38 WARNING[7341]: loader.c:499 load_modules: Loading module chan_zap.so failed!
Warning, flexibel rate not heavily tested!
marvin:/etc/asterisk# Ouch ... error while writing audio data: : Broken pipe
Warning, flexibel rate not heavily tested!
cat /etc/asterisk/zapata.conf
Code:
[channels]
;NT-Karte fuer ISDN-Telefonalnage oder ISDN-Telefon
;----------------------------------------------------------------------------
switchtype = euroisdn
signalling = pri_net
pridialplan = local
prilocaldialplan = local
echocancel = yes
overlapdial = no
echocancelwhenbridged=no
echotraining=no
immediate = no
usecallerid = yes
group = 1
context = pbx-trunk
channel => 1-2
usecallingpres=yes
nationalprefix = 0
internationalprefix = 00
cat /etc/zaptel.conf
Code:
## hfc-s pci a span definition
## most of the values should be bogus because we are not really zaptel
#loadzone=nl
#defaultzone=nl
#
#span=1,1,3,ccs,ami
#bchan=1-2
#dchan=3
#alaw=1-3
# hfc-s pci a span definition
# most of the values should be bogus because we are not really zaptel
loadzone=nl
defaultzone=nl
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
alaw=1-3