Karten geben keinen mux von sich

a.barth

Neuer User
Mitglied seit
11 Okt 2007
Beiträge
6
Punkte für Reaktionen
0
Punkte
0
Also folgendes Problem, ich versuche hier mittlerweile seit Tagen unsere bestehende Telefonanlage mit Asterisk um ein paar funktionen zu erweitern. Nach einigen versuchen mit mISDN bin ich jetzt bei bristuffed gelandet mein Problem ist das sich einfach gar nichts tut also weder abgehende noch eingehende Anrufe sind möglich oder werden in der Asteriskconsole überhaupt vermerkt. Was mache ich falsch?

Meine Konfiguration:

Betriebssystem: Suse 10.2
Asteriskversion: 1.4.10-1-BRIstuffed-0.4.0-test4
ISDN Karten: Junghanns OctoBri und Junghanns QuadBri

AMT>>>>>octobri_te_ports>>>Asterisk>>>>octobri_nt_ports>>>>>Octopus Open



Das qozap modul wirs mit modprobe qozap ports=3120 geladen.
Soweit scheint es zu funktionieren.

Code:
fis-asterisk:~ # modprobe qozap ports=3120
fis-asterisk:~ # lsmod

Module                  Size  Used by
qozap                  30752  0
zttranscode            12040  0
zaptel                189732  2 qozap,zttranscode
crc_ccitt               6272  1 zaptel
ipv6                  265120  28
button                 10896  0
battery                14468  0
ac                      9476  0
apparmor               55828  0
aamatch_pcre           18432  1 apparmor
ext3                  142088  1
jbd                    70580  1 ext3
mbcache                12804  1 ext3
loop                   20488  0
dm_mod                 60184  0
e1000                 120128  0
shpchp                 40224  0
ide_cd                 42272  0
i2c_i801               11660  0
e7xxx_edac             10368  0
cdrom                  38432  1 ide_cd
pci_hotplug            35264  1 shpchp
uhci_hcd               26892  0
edac_mc                26576  1 e7xxx_edac
i2c_core               25216  1 i2c_i801
usbcore               129668  2 uhci_hcd
xfs                   544856  1
sg                     38556  0
edd                    13892  0
fan                     9092  0
3w_xxxx                29984  3
piix                   14084  0 [permanent]
thermal                18568  0
processor              34664  1 thermal
sd_mod                 24704  4
scsi_mod              137224  3 sg,3w_xxxx,sd_mod
ide_disk               20480  0
ide_core              131144  3 ide_cd,piix,ide_disk

ein blick in /var/log/messages sagt mir das soweit alles in ordnung ist

Code:
Oct 11 10:40:41 fis-asterisk kernel: PCI: Enabling device 0000:06:05.0 (0000 -> 0003)
Oct 11 10:40:41 fis-asterisk kernel: ACPI: PCI Interrupt 0000:06:05.0[A] -> GSI 26 (level, low) -> IRQ 217
Oct 11 10:40:41 fis-asterisk kernel: qozap: Starting hardware watchdog.
Oct 11 10:40:41 fis-asterisk kernel: qozap: Junghanns.NET quadBRI (Version 2.0) card configured at io port 0xc400 IRQ 217 HZ 250 CardID 0
Oct 11 10:40:41 fis-asterisk kernel: qozap: S/T ports: 4 [ TE TE TE TE ]
Oct 11 10:40:41 fis-asterisk kernel: PCI: Enabling device 0000:06:04.0 (0000 -> 0003)
Oct 11 10:40:41 fis-asterisk kernel: ACPI: PCI Interrupt 0000:06:04.0[A] -> GSI 25 (level, low) -> IRQ 225
Oct 11 10:40:41 fis-asterisk kernel: qozap: Junghanns.NET octoBRI card configured at io port 0xc000 IRQ 225 HZ 250
Oct 11 10:40:41 fis-asterisk kernel: qozap: S/T ports: 8 [ NT NT TE TE TE TE NT NT ]
Oct 11 10:40:41 fis-asterisk kernel: qozap: 2 multiBRI card(s) in this box, 12 BRI ports total, bloop 0, pcmslave 0, dacs 1.

ztcfg -vvv bring mir auch nichts wirklich auffälliges

Code:
fis-asterisk:~ # ztcfg -vvv

Zaptel Version: 1.4.5.1
Echo Canceller: MG2
Configuration
======================

SPAN 1: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 5: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 6: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 7: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 8: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 9: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 10: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 11: CCS/ AMI Build-out: 133-266 feet (DSX-1)
SPAN 12: CCS/ AMI Build-out: 133-266 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: D-channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: D-channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: Clear channel (Default) (Slaves: 14)
Channel 15: D-channel (Default) (Slaves: 15)
Channel 16: Clear channel (Default) (Slaves: 16)
Channel 17: Clear channel (Default) (Slaves: 17)
Channel 18: D-channel (Default) (Slaves: 18)
Channel 19: Clear channel (Default) (Slaves: 19)
Channel 20: Clear channel (Default) (Slaves: 20)
Channel 21: D-channel (Default) (Slaves: 21)
Channel 22: Clear channel (Default) (Slaves: 22)
Channel 23: Clear channel (Default) (Slaves: 23)
Channel 24: D-channel (Default) (Slaves: 24)
Channel 25: Clear channel (Default) (Slaves: 25)
Channel 26: Clear channel (Default) (Slaves: 26)
Channel 27: D-channel (Default) (Slaves: 27)
Channel 28: Clear channel (Default) (Slaves: 28)
Channel 29: Clear channel (Default) (Slaves: 29)
Channel 30: D-channel (Default) (Slaves: 30)
Channel 31: Clear channel (Default) (Slaves: 31)
Channel 32: Clear channel (Default) (Slaves: 32)
Channel 33: D-channel (Default) (Slaves: 33)
Channel 34: Clear channel (Default) (Slaves: 34)
Channel 35: Clear channel (Default) (Slaves: 35)
Channel 36: D-channel (Default) (Slaves: 36)

36 channels configured.

Changing signalling on channel 1 from Unused to Clear channel
Changing signalling on channel 2 from Unused to Clear channel
Changing signalling on channel 3 from Unused to HDLC with FCS check
Changing signalling on channel 4 from Unused to Clear channel
Changing signalling on channel 5 from Unused to Clear channel
Changing signalling on channel 6 from Unused to HDLC with FCS check
Changing signalling on channel 7 from Unused to Clear channel
Changing signalling on channel 8 from Unused to Clear channel
Changing signalling on channel 9 from Unused to HDLC with FCS check
Changing signalling on channel 10 from Unused to Clear channel
Changing signalling on channel 11 from Unused to Clear channel
Changing signalling on channel 12 from Unused to HDLC with FCS check
Changing signalling on channel 13 from Unused to Clear channel
Changing signalling on channel 14 from Unused to Clear channel
Changing signalling on channel 15 from Unused to HDLC with FCS check
Changing signalling on channel 16 from Unused to Clear channel
Changing signalling on channel 17 from Unused to Clear channel
Changing signalling on channel 18 from Unused to HDLC with FCS check
Changing signalling on channel 19 from Unused to Clear channel
Changing signalling on channel 20 from Unused to Clear channel
Changing signalling on channel 21 from Unused to HDLC with FCS check
Changing signalling on channel 22 from Unused to Clear channel
Changing signalling on channel 23 from Unused to Clear channel
Changing signalling on channel 24 from Unused to HDLC with FCS check
Changing signalling on channel 25 from Unused to Clear channel
Changing signalling on channel 26 from Unused to Clear channel
Changing signalling on channel 27 from Unused to HDLC with FCS check
Changing signalling on channel 28 from Unused to Clear channel
Changing signalling on channel 29 from Unused to Clear channel
Changing signalling on channel 30 from Unused to HDLC with FCS check
Changing signalling on channel 31 from Unused to Clear channel
Changing signalling on channel 32 from Unused to Clear channel
Changing signalling on channel 33 from Unused to HDLC with FCS check
Changing signalling on channel 34 from Unused to Clear channel
Changing signalling on channel 35 from Unused to Clear channel
Changing signalling on channel 36 from Unused to HDLC with FCS check

doch nach dem starten von asterisk und dem anschliessen der karten geht nichts.

Das einzige was mir die Konsole anzeigt ist:
Code:
  == Primary D-Channel on span 12 down
[Oct 11 09:33:47] WARNING[7075]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 36 as D-channel anyway!
  == Primary D-Channel on span 5 down
[Oct 11 09:33:47] WARNING[7068]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 15 as D-channel anyway!
  == Primary D-Channel on span 6 down
[Oct 11 09:33:47] WARNING[7069]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 18 as D-channel anyway!
  == Primary D-Channel on span 11 down
[Oct 11 09:33:47] WARNING[7074]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 33 as D-channel anyway!
  == Primary D-Channel on span 7 down
[Oct 11 09:33:47] WARNING[7070]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 21 as D-channel anyway!
  == Primary D-Channel on span 8 down
  == Primary D-Channel on span 10 down
[Oct 11 09:33:47] WARNING[7071]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 24 as D-channel anyway!
[Oct 11 09:33:47] WARNING[7073]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 30 as D-channel anyway!
  == Primary D-Channel on span 9 down
[Oct 11 09:33:47] WARNING[7072]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 27 as D-channel anyway!
  == Primary D-Channel on span 3 down
  == Primary D-Channel on span 4 down
  == Primary D-Channel on span 2 down
  == Primary D-Channel on span 1 down
  == Primary D-Channel on span 12 down
  == Primary D-Channel on span 5 down
[Oct 11 09:33:52] WARNING[7075]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 36 as D-channel anyway!
[Oct 11 09:33:52] WARNING[7068]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 15 as D-channel anyway!
  == Primary D-Channel on span 6 down
[Oct 11 09:33:52] WARNING[7069]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 18 as D-channel anyway!
  == Primary D-Channel on span 11 down
[Oct 11 09:33:52] WARNING[7074]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 33 as D-channel anyway!
  == Primary D-Channel on span 7 down
[Oct 11 09:33:52] WARNING[7070]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 21 as D-channel anyway!
  == Primary D-Channel on span 10 down
  == Primary D-Channel on span 8 down
[Oct 11 09:33:52] WARNING[7073]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 30 as D-channel anyway!
[Oct 11 09:33:52] WARNING[7071]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 24 as D-channel anyway!
  == Primary D-Channel on span 9 down
[Oct 11 09:33:52] WARNING[7072]: chan_zap.c:2613 pri_find_dchan: No D-channels available!  Using Primary channel 27 as D-channel anyway!

Meine configs sehen so aus:

zaptel.conf:
Code:
# Autogenerated by /usr/sbin/zapconf on Wed Oct 10 16:06:35 2007 -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# Span 1: ztqoz/2/1 "quadBRI PCI ISDN Card 2 Span 1 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS
span=1,1,1,ccs,ami
# termtype: te
bchan=1-2
dchan=3

# Span 2: ztqoz/2/2 "quadBRI PCI ISDN Card 2 Span 2 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS
span=2,2,1,ccs,ami
# termtype: te
bchan=4-5
dchan=6

# Span 3: ztqoz/2/3 "quadBRI PCI ISDN Card 2 Span 3 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS
span=3,3,1,ccs,ami
# termtype: te
bchan=7-8
dchan=9

# Span 4: ztqoz/2/4 "quadBRI PCI ISDN Card 2 Span 4 [TE] (cardID 0) Layer 1 DEACTIVATED (F3)" AMI/CCS
span=4,4,1,ccs,ami
# termtype: te
bchan=10-11
dchan=12

# Span 5: ztqoz/1/1 "octoBRI PCI ISDN Card 1 Span 1 [NT] Layer 1 DEACTIVATED (G2)" AMI/CCS
span=5,0,1,ccs,ami
# termtype: nt
bchan=13-14
dchan=15

# Span 6: ztqoz/1/2 "octoBRI PCI ISDN Card 1 Span 2 [NT] Layer 1 DEACTIVATED (G2)" AMI/CCS
span=6,0,1,ccs,ami
# termtype: nt
bchan=16-17
dchan=18

# Span 7: ztqoz/1/3 "octoBRI PCI ISDN Card 1 Span 3 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS
span=7,5,1,ccs,ami
# termtype: te
bchan=19-20
dchan=21

# Span 8: ztqoz/1/4 "octoBRI PCI ISDN Card 1 Span 4 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS
span=8,6,1,ccs,ami
# termtype: te
bchan=22-23
dchan=24

# Span 9: ztqoz/1/5 "octoBRI PCI ISDN Card 1 Span 5 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS
span=9,7,1,ccs,ami
# termtype: te
bchan=25-26
dchan=27

# Span 10: ztqoz/1/6 "octoBRI PCI ISDN Card 1 Span 6 [TE] Layer 1 DEACTIVATED (F3)" AMI/CCS
span=10,8,1,ccs,ami
# termtype: te
bchan=28-29
dchan=30

# Span 11: ztqoz/1/7 "octoBRI PCI ISDN Card 1 Span 7 [NT] Layer 1 DEACTIVATED (G2)" AMI/CCS
span=11,0,1,ccs,ami
# termtype: nt
bchan=31-32
dchan=33

# Span 12: ztqoz/1/8 "octoBRI PCI ISDN Card 1 Span 8 [NT] Layer 1 DEACTIVATED (G2)" AMI/CCS
span=12,0,1,ccs,ami
# termtype: nt
bchan=34-35
dchan=36

# Global data

loadzone        = de
defaultzone     = de

zapata.conf:

Code:
;
; Zapata telephony interface
;
; Configuration file

[channels]
;
; Default language
;
language=de
;
; Default context
;
;

switchtype = euroisdn

; p2mp TE mode (for connecting ISDN lines in point-to-multipoint mode)
;signalling = bri_cpe_ptmp
; p2p TE mode (for connecting ISDN lines in point-to-point mode)
;signalling = bri_cpe
; p2mp NT mode (for connecting ISDN phones in point-to-multipoint mode)
;signalling = bri_net_ptmp
; p2p NT mode (for connecting an ISDN pbx in point-to-point mode)
;signalling = bri_net

overlapdial=yes
immediate=no

pridialplan = local
prilocaldialplan = dynamic
nationalprefix = 0
internationalprefix = 00

priindication = passthrough

echocancel = yes

signalling = bri_cpe_ptmp
context = 3
channel => 1,2,4,5,7,8,10,11


signalling = bri_net
context=octobriTOpbx
group = 1
; octobriport 1,2,7,8
channel => 13,14,16,17,31,32,34,35

signalling = bri_cpe
context=octobriincomming
group = 2
;octobriport 3,4,5,6
channel => 19,20,22,23,25,26,28,29

und die extensions.conf

Code:
[general]
static=yes
writeprotect=no

[default]
exten => _X.,1,Answer()
exten => _X.,n,Dial(Zap/g1/${EXTEN}||r]

[octobriincomming]
include => default

[octobriTOpbx]
exten => _X.,1,Answer()
exten => _X.,n,Dial(Zap/g2/${EXTEN}||r)

Die quadBri ist zur zeit noch ohne funktion.
Ich versuche erstmal die Anlage überhaupt zum laufen zu bekommen.

Hoffentlich kann mir einer von euch weiterhelfen, bin für jede hilfe dankbar.
 
Hi,

bau doch mal die zweite unbenutze Karte aus, und schau erstmal, dass Du die eine octoBRI ans laufen bekommst.

Bei mir sind zwei octoBRIs im System und die Besonderheit war, dass die höheren Channel-Nummer beim Einbau der zweiten Karte auf die erste(!!!) Karte gelegt werden.
Die niedrigeren Channelnummern schnappt sich dann im meinem Fall nämlich die zweite Karte, obwohl diese klar als Nummer 2 erkannt wird und auch einen höheren IRQ hat.

Falls Du ein PCM-Kabel verwendest, dann musst Du dieses abziehen. Habe auch erst vor ein paar Tagen erfahren, dass dieses Kabel bei BRI-stuffed Asterisk und chan_zap nicht nötig ist. In meinem Fall hat es sogar dazu geführt, dass die ISDN-Karten nicht richtig liefen und ich mit verschiedensten Fehlermeldungen bombadiert wurde.

Das mit den fehlenden D-Channels kommt bei mir auch, wenn ich keinen ISDN-Bus daran anschliesse.

Was zeigt denn "cat /proc/zaptel/*" an, wenn Du an einen oder mehrere Ports einen ISDN-Bus anschliesst? Dann sollte da nämlich entsprechend "AKTIVE" stehen.
 
Hab deine Antwort leider zu spät bemerkt, aber du hattest recht. Es lag an diesem PCM-Kabel. Ohne dieses Kabel läuft alles einwandfrei. bzw. zumindest funktionieren jetzt die beiden Karten, den rest werde ich jetzt auch noch Irgendwie hinbekommen.
Danke nochmal auf jeden fall für die schnelle antwort.
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,197
Beiträge
2,247,888
Mitglieder
373,755
Neuestes Mitglied
grdex
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.