Gelöst: Trixbox: HFC-Karte im TE-Modus reagiert nicht

stony999

Neuer User
Mitglied seit
12 Aug 2006
Beiträge
169
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich habe folgendes Problem, und selbst tagelanges Suchen in Foren hat mich nicht weitergebracht.
Ich habe eine Trixbox 1.1.1 im Einsatz und möchte meinen ISDN-Anschluss an die Trixbox bringen, um über ISDN ein und rauswählen zu können. Dazu habe ich mit
install-ZAPHFC -f t -m 0 –s 1 –t 1
die Kartentreiber (bristuff) installiert (TE-Modus mit Patch).

Die Karte wird nun erkannt:
=========================================
[root@asterisk1 ~]# cat /proc/interrupts
CPU0
0: 290105 XT-PIC timer
1: 24 XT-PIC i8042
2: 0 XT-PIC cascade
5: 837 XT-PIC uhci_hcd, eth0
8: 1 XT-PIC rtc
10: 87 XT-PIC zaphfc
12: 81 XT-PIC i8042
14: 5156 XT-PIC ide0
15: 1381 XT-PIC ide1
NMI: 0
ERR: 0

(zeigt sehr wenig Interrupts für zapfhfc)

[root@asterisk1 ~]# cat /proc/zaptel/*
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] layer 1 ACTIVATED (F7)" AMI/CCS

1 ZTHFC1/0/1 Clear (In use)
2 ZTHFC1/0/2 Clear (In use)
3 ZTHFC1/0/3 HDLCFCS (In use)

[root@asterisk1 asterisk]# ztcfg -vv

Zaptel Configuration
======================

SPAN 1: CCS/ AMI Build-out: 399-533 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)

3 channels configured.
In Asterisk CLI:
asterisk1*CLI> zap show status
Description Alarms IRQ bpviol CRC4
HFC-S PCI A ISDN card 0 [TE] layer 1 AC OK 0 0 0
(IRQ wird hier mit 0 angezeigt, ist das kritisch?)
asterisk1*CLI>

========================================================
Ich habe über freePBX der Trixbox einen Trunk sowie inbound und outbound routes festgelegt (da kann man ja eigentlich nichts falsch machen).

Trotzdem reagiert die ISDN-Karte (HFC, Junghanns) nicht. Ich habe sie mit einem Patch-Kabel direkt am NTBA angeschlossen.

1. Problem: Es wird kein Anruf signalisiert. Im Asterix CLI: bri intense debug span 1: zeigt keinerlei Reaktion. Zumindest müsste die Signalsierung für einen eingehenden Anruf anstehen.

2. Problem: Ausgehende Rufe (z.B. von SIP/200) zeigen im X-Lite Phone zwar "Call established", aber es kommt weder Frei/Besetztzeichen noch eine Ansage.
Im Bri Debug-Modus kann man erkennen, das immerhin versucht wird, über ZAP zu wählen, aber die Karte gibt immer ein Besetzt zurück. (ich habe übrigens 2 Karten getestet und beide zeigen das gleiche Verhalten.
Hier das debug log: Rufnummer SIP/200 ruft über 06173xxxxxx (ZAP) das Handy 0171xxxxxxxx (mit xxx anonymisiert)
==========================================================

[root@asterisk1 ~]# asterisk -vvvvvvr
Asterisk 1.2.1-BRIstuffed-0.3.0-PRE-1f, Copyright (C) 1999 - 2005 Digium.
Written by Mark Spencer <[email protected]>
=========================================================================
Connected to Asterisk 1.2.1-BRIstuffed-0.3.0-PRE-1f currently running on asterisk1 (pid = 2531)
Verbosity is at least 1
Core debug is at least 1

asterisk1*CLI> bri intense debug span 1
Enabled EXTENSIVE debugging on span 1
[root@asterisk1 ~]# asterisk -vvvvvvr
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk 1.2.1-BRIstuffed-0.3.0-PRE-1f, Copyright (C) 1999 - 2005 Digium.
Written by Mark Spencer <[email protected]>
=========================================================================
Connected to Asterisk 1.2.1-BRIstuffed-0.3.0-PRE-1f currently running on asterisk1 (pid = 2531)
Verbosity was 1 and is now 6
Core debug is at least 1
-- Executing Macro("SIP/200-18d4", "dialout-trunk|1|0171xxxxxxx||") in new stack
-- Executing GotoIf("SIP/200-18d4", "1?3:2") in new stack
-- Goto (macro-dialout-trunk,s,3)
-- Executing Macro("SIP/200-18d4", "user-callerid") in new stack
-- Executing GotoIf("SIP/200-18d4", "0?report") in new stack
-- Executing GotoIf("SIP/200-18d4", "0?start") in new stack
-- Executing Set("SIP/200-18d4", "REALCALLERIDNUM=200") in new stack
-- Executing NoOp("SIP/200-18d4", "REALCALLERIDNUM is 200") in new stack
-- Executing Set("SIP/200-18d4", "AMPUSER=200") in new stack
-- Executing Set("SIP/200-18d4", "AMPUSERCIDNAME=Peter") in new stack
-- Executing GotoIf("SIP/200-18d4", "0?report") in new stack
-- Executing Set("SIP/200-18d4", "CALLERID(all)=Peter <200>") in new stack
-- Executing NoOp("SIP/200-18d4", "Using CallerID "Peter" <200>") in new stack
-- Executing Macro("SIP/200-18d4", "record-enable|200|OUT") in new stack
-- Executing GotoIf("SIP/200-18d4", "0 > 0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing AGI("SIP/200-18d4", "recordingcheck|20060812-014046|asterisk-2531-1155339646.29") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20060812-014046|asterisk-2531-1155339646.29: Outbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing NoOp("SIP/200-18d4", "No recording needed") in new stack
-- Executing Macro("SIP/200-18d4", "outbound-callerid|1") in new stack
-- Executing GotoIf("SIP/200-18d4", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,3)
-- Executing NoOp("SIP/200-18d4", "REALCALLERIDNUM is 200") in new stack
-- Executing Set("SIP/200-18d4", "USEROUTCID=") in new stack
-- Executing Set("SIP/200-18d4", "EMERGENCYCID=") in new stack
-- Executing Set("SIP/200-18d4", "TRUNKOUTCID=06173xxxxxx") in new stack
-- Executing GotoIf("SIP/200-18d4", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,11)
-- Executing GotoIf("SIP/200-18d4", "0?usercid") in new stack
-- Executing Set("SIP/200-18d4", "CALLERID(all)=06173xxxxxx") in new stack
-- Executing GotoIf("SIP/200-18d4", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing NoOp("SIP/200-18d4", "CallerID set to "" <06173xxxxxx>") in new stack
-- Executing Set("SIP/200-18d4", "GROUP()=OUT_1") in new stack
-- Executing GotoIf("SIP/200-18d4", "0?108") in new stack
-- Executing Set("SIP/200-18d4", "DIAL_NUMBER=0171xxxxxxx") in new stack
-- Executing Set("SIP/200-18d4", "DIAL_TRUNK=1") in new stack
-- Executing AGI("SIP/200-18d4", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Removed prefix. New number: 171xxxxxxx
-- AGI Script fixlocalprefix completed, returning 0
-- Executing Set("SIP/200-18d4", "OUTNUM=0171xxxxxxx") in new stack
-- Executing Set("SIP/200-18d4", "custom=ZAP/1") in new stack
-- Executing GotoIf("SIP/200-18d4", "0?16") in new stack
-- Executing Dial("SIP/200-18d4", "ZAP/1/0171xxxxxxx|120|r") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Goto("SIP/200-18d4", "s-CHANUNAVAIL|1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing NoOp("SIP/200-18d4", "Dial failed due to CHANUNAVAIL") in new stack
-- Executing Macro("SIP/200-18d4", "outisbusy|") in new stack
-- Executing Playback("SIP/200-18d4", "all-circuits-busy-now") in new stack
-- Playing 'all-circuits-busy-now' (language 'en')
-- Executing Macro("SIP/200-18d4", "hangupcall") in new stack
-- Executing ResetCDR("SIP/200-18d4", "w") in new stack
-- Executing NoCDR("SIP/200-18d4", "") in new stack
-- Executing Wait("SIP/200-18d4", "5") in new stack

=====================================================
Werk kann helfen? Ich bin wirklich am Ende, da die Karte überhaupt nicht reagiert.
 
Zuletzt bearbeitet:
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,900
Beiträge
2,303,597
Mitglieder
378,537
Neuestes Mitglied
parakutak