Hi!
Anlagenanschluss, Asterisk meldet Layer1 down
Ich bin sicher, dass die Verkabelung korrekt ist. Die TelCo sagt, dass sie den NTBA anmessen kann.
Ich habe keine Ahnung, was da schief laufen könnte. Ich habe auch leider keine andere Telefonanlage zur Hand, die ich mal testweise an den NTBA hängen könnte.
Über Tipps wäre ich sehr dankbar!
Gruß,
T.
--------------------------------
mISDN 1.1.5
Asterisk 1.4.11
Das hier scheint mein Problem zu sein:
Noch ein paar Debug-Infos:
Anlagenanschluss, Asterisk meldet Layer1 down
Ich bin sicher, dass die Verkabelung korrekt ist. Die TelCo sagt, dass sie den NTBA anmessen kann.
Ich habe keine Ahnung, was da schief laufen könnte. Ich habe auch leider keine andere Telefonanlage zur Hand, die ich mal testweise an den NTBA hängen könnte.
Über Tipps wäre ich sehr dankbar!
Gruß,
T.
--------------------------------
mISDN 1.1.5
Asterisk 1.4.11
Code:
misdn show stacks
BEGIN STACK_LIST:
* Port 1 Type NT Prot. PMP L2Link DOWN L1Link:DOWN Blocked:0 Debug:4
* Port 2 Type TE Prot. PTP L2Link DOWN L1Link:DOWN Blocked:0 Debug:4
* Port 3 Type TE Prot. PTP L2Link DOWN L1Link:DOWN Blocked:0 Debug:4
Code:
misdn show config
Misdn General-Config:
-> misdn_init: /etc/misdn-init.conf -> debug: 0
-> tracefile: /var/log/asterisk/misdn.log -> bridging: no
-> stop_tone_after_first_digit: yes -> append_digits2exten: yes
-> dynamic_crypt: no -> crypt_prefix: **
-> crypt_keys: test,muh -> ntdebugflags: 0
-> ntdebugfile: /var/log/misdn-nt.log
[PORT 1]
-> name: intern -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: no -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: Intern -> language: en
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 0
-> need_more_infos: no -> noautorespond_on_setup: no
-> nttimeout: no -> bridging: yes
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: -> pickupgroup:
-> max_incoming: -1 -> max_outgoing: -1
-> l1watcher_timeout: 0 -> overlapdial: 0
-> msns: * -> faxdetect: no
-> faxdetect_context: -> faxdetect_timeout: 5
-> ptp: no
[PORT 2]
-> name: first_extern -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: no -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: Extern1 -> language: en
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 0
-> need_more_infos: no -> noautorespond_on_setup: no
-> nttimeout: no -> bridging: yes
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: -> pickupgroup:
-> max_incoming: -1 -> max_outgoing: -1
-> l1watcher_timeout: 0 -> overlapdial: 0
-> msns: * -> faxdetect: no
-> faxdetect_context: -> faxdetect_timeout: 5
-> ptp: no
[PORT 3]
-> name: second_extern -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: no -> reject_cause: 16
-> block_on_alarm: no -> hdlc: no
-> context: Extern2 -> language: en
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: yes
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 0
-> need_more_infos: no -> noautorespond_on_setup: no
-> nttimeout: no -> bridging: yes
-> jitterbuffer: 4000 -> jitterbuffer_upper_threshold: 0
-> callgroup: -> pickupgroup:
-> max_incoming: -1 -> max_outgoing: -1
-> l1watcher_timeout: 0 -> overlapdial: 0
-> msns: * -> faxdetect: no
-> faxdetect_context: -> faxdetect_timeout: 5
-> ptp: no
Das hier scheint mein Problem zu sein:
Code:
*CLI> P[ 0] MGMT: SSTATUS: L1_DEACTIVATED
Noch ein paar Debug-Infos:
Code:
ast:/home/t# dmesg -c
ast:/home/t# misdn-init stop
ERROR: Module mISDN_isac is in use by avmfritz
-------------------------------------------
Unloading module(s) for your misdn-cards:
-------------------------------------------
/sbin/rmmod hfcpci
/sbin/rmmod avmfritz
ERROR: Module mISDN_core is in use by mISDN_isac
ast:/home/t# misdn-init start
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcpci protocol=0x12 layermask=0x3
/sbin/modprobe --ignore-install avmfritz protocol=0x22,0x22 layermask=0xf,0xf
/sbin/modprobe mISDN_dsp debug=0x0 options=0 poll=128 dtmfthreshold=100
ast:/home/t# misdnportinfo
Port 1: NT-mode BRI S/T interface port (for phones)
-> Interface can be Poin-To-Point/Multipoint.
--------
Port 2: TE-mode BRI S/T interface line (for phone lines)
-> Interface is Poin-To-Point.
-> Protocol: DSS1 (Euro ISDN)
-> childcnt: 2
--------
Port 3: TE-mode BRI S/T interface line (for phone lines)
-> Interface is Poin-To-Point.
-> Protocol: DSS1 (Euro ISDN)
-> childcnt: 2
--------
mISDN_close: fid(3) isize(131072) inbuf(0x804c060) irp(0x804c060) iend(0x804c060)
ast:/home/t# dmesg
free_Application: no garbage
mISDNl3 u_dss1 list not empty
mISDNl2 l2 list not empty
mISDNl1 inst list not empty
fritz_remove_pci: drvdata allready removed
fritz_remove_pci: drvdata allready removed
ISDN L1 driver version 1.20
ISDN L2 driver version 1.32
mISDN: DSS1 Rev. 1.47
mISDN Capi 2.0 driver file version 1.21
HFC card dbbad800 dch dbbad864 bch1 dbbad9e8 bch2 dbbadb6c
mISDN: HFC-PCI driver Rev. 1.49
mISDN: HFC-PCI card manufacturer: CCD/Billion/Asuscom card name: 2BD0
HFC-PCI: defined at mem 0xe1046e00 fifo 0xdbb38000(0xc10000) IRQ 16 HZ 250
reset_hfcpci: entered
HFC_PCI: resetting HFC ChipId(30)
HFC-PCI status(2) before reset
HFC-PCI status(2) after reset
HFC-PCI status(2) after 50000us
init_card: entered
inithfcpci: entered
HFC PCI: IRQ 16 count 1
HFC card dbbaa800 dch dbbaa864 bch1 dbbaa9e8 bch2 dbbaab6c
mISDN: HFC-PCI driver Rev. 1.49
HFC-PCI: No more PCI cards found
HFC 1 cards installed
AVM Fritz PCI/PnP driver Rev. 1.43
PCI: Enabling device 0000:00:00.0 (0000 -> 0003)
mISDN_fcpcipnp: found adapter Fritz!Card PCI at 0000:00:00.0
fritz card db40d800 dch db40d870 bch1 db40d9f4 bch2 db40db78
AVM PCI: stat 0x7020a
AVM PCI: Class A Rev 2
AVM PnP: HDLC version 1
mISDN: AVM Fritz!PCI config irq:18 base:0xCC00
AVM PCI/PnP: reset
AVM PCI/PnP: S0/S1 87/0
Fritz1 ISAC STAR ff
Fritz1 ISAC MODE ff
Fritz1 ISAC ADF2 ff
Fritz1 ISAC ISTA ff
Fritz1 ISAC EXIR ff
Fritz1 ISAC CIR0 ff
mISDN_isac_init: ISAC version (ff): 2085 V2.3
Fritz1 HDLC 1 STA 81000000
Fritz1 HDLC 2 STA 0
AVM Fritz!PCI: IRQ 18 count 3
fritz 1 cards installed
PCI: Enabling device 0000:00:01.0 (0000 -> 0003)
mISDN_fcpcipnp: found adapter Fritz!Card PCI at 0000:00:01.0
fritz card db59c000 dch db59c070 bch1 db59c1f4 bch2 db59c378
AVM PCI: stat 0x7020a
AVM PCI: Class A Rev 2
AVM PnP: HDLC version 1
mISDN: AVM Fritz!PCI config irq:17 base:0xC800
AVM PCI/PnP: reset
AVM PCI/PnP: S0/S1 87/0
Fritz2 ISAC STAR ff
Fritz2 ISAC MODE ff
Fritz2 ISAC ADF2 ff
Fritz2 ISAC ISTA ff
Fritz2 ISAC EXIR ff
Fritz2 ISAC CIR0 ff
mISDN_isac_init: ISAC version (ff): 2085 V2.3
Fritz2 HDLC 1 STA 81000000
Fritz2 HDLC 2 STA 0
AVM Fritz!PCI: IRQ 17 count 1
fritz 2 cards installed
mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2 dtmfthreshold(100)
mISDN_dsp: DSP clocks every 128 samples. This equals 4 jiffies.
ast:/home/t# cat /etc/misdn-init.conf |grep -v '^#'|grep -v '^$'
card=1,hfcpci
card=2,avmfritz
card=3,avmfritz
te_ptp=2,3
nt_ptmp=1
poll=128
dsp_poll=128
dsp_options=0
dtmfthreshold=100
debug=0