mISDN nach Upgrade auf v 1.1.1 weder raus noch rein

Fux

Mitglied
Mitglied seit
3 Jun 2004
Beiträge
440
Punkte für Reaktionen
1
Punkte
18
Hallo zusammen,

ich habe hier einen * mit je einer AVM Fritz und einer HFCPCI-Karte.
Die HFC läuft im NT-Mode, die Fritz im TE-Mode.

Das funzte bisher auch so leidlich. Nur ist nach ein paar Tagen mISDN gern mal abgestürzt. Deshalb habe ich mISDN-1.1.1 heruntergeladen und inst.

Der interne Teil (mit der HFC-Karte) funzt. Ich kann jedoch weder über ISDN rauswählen noch kommen ISDN-Anrufe an.

Hier meine configs:

/etc/mISDN.conf:
Code:
<?xml version="1.0"?>
<!--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: BN2S0, BN4S0, BN8S0
Card Attributes: ulaw=(yes|no), dtmf=(yes|no), pcm_slave=(yes|no),
                 ignore_pcm_frameclock=(yes|no), rxclock=(yes|no),
                 crystalclock=(yes|no), watchdog=(yes|no)
Port Attributes: mode=(te|nt), link=(ptp|ptmp), master-clock=(yes|no),
                 capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: BN2E1
Card Attributes: ulaw=(yes|no), dtmf=(yes|no), pcm_slave=(yes|no),
                 ignore_pcm_frameclock=(yes|no), rxclock=(yes|no),
                 crystalclock=(yes|no), watchdog=(yes|no)
Port Attributes: mode=(te|nt), link=(ptp|ptmp), optical=(yes|no), los=(yes|no),
                 ais=(yes|no), slip=(yes|no), nocrc4=(yes|no), capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Card Type: hfcmulti, avmfritz, w6692pci
Port Attributes: mode=(te|nt), link=(ptp|ptmp), capi=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Module: hfcmulti
Options: poll=<number>, pcm=<number>, debug=<number>, timer=(yes|no)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Module: mISDN_dsp
Options: debug=<number>, options=<number>, poll=<number>,
         dtmfthreshold=<number>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-->
<mISDNconf>
	<module poll="128" debug="0" timer="no">hfcmulti</module>
	<module debug="0" options="0">mISDN_dsp</module>
	<devnode user="root" group="root" mode="644">mISDN</devnode>
	<card type="hfcpci">
		<port mode="nt" link="ptmp">1</port>
	</card>
	<card type="avmfritz">
		<port mode="te" link="ptmp" capi="no">2</port>
	</card>
</mISDNconf>

/etc/asterisk/misdn.conf:
Code:
[general] 
debug=2
method=standard

append_digits2exten=yes

bridging=yes

stop_tone_after_first_digit=yes


[default]

context=line-in

language=de

nationalprefiddx=0
internationalprefix=0049
rxgain=0
txgain=0
l1watcher_timeout=4
dialplan=0

pmp_l1_check=yes

early_bconnect=yes


immediate=no

echocancel=yes
jitterbuffer=4000

jitterbuffer_upper_threshold=0


[isdn_intern]
context=isdnzap
ports=1

[isdn_extern]
context=line-in
ports=2
msns=*

/etc/asterisk/extensions.conf:
Code:
[line-in]
exten => 6018988,1,Answer                        
exten => 6018988,2,Wait(1)
exten => 6018988,3,NoCDR
exten => 6018988,4,Playback(nwb-welcome)
exten => 6018988,5,Wait(0.5)
exten => 6018988,6,Dial(mISDN/g:isdn_intern/6018988,20)

[macro-capicall]
; ARG1 = calleridnum
; ARG2 = extension
exten => s,1,Set(CALLERID(number)=${ARG1})
exten => s,2,LookupCIDName
exten => s,3,Monitor(wav,${STRFTIME(${EPOCH},GMT+8,%C%y%m%d%H%M)}-6018988-${ARG2},m)
exten => s,4,Dial(mISDN/2/${ARG2})
exten => s,5,Congestion
exten => s,103,Congestion

eingehender Anruf im CLI:
Code:
P[ 2] I IND :SETUP oad:!▒1703246195▒6018988}▒▒ dad▒6018988}▒▒ pid:6 state:none
P[ 2]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 2]  --> info_dad: onumplan:6 dnumplan:7 rnumplan:  cpnnumplan:0
P[ 2]  --> Bearer: Unknown Bearer
P[ 2]  --> Codec: Alaw
P[ 0]  --> * NEW CHANNEL dad▒6018988}▒▒ oad:!▒1703246195▒6018988}
P[ 2] read_config: Getting Config
P[ 2]  --> CTON: Unknown
P[ 2]  --> PRES: Restricted (0)
P[ 2]  --> SCREEN: Unscreened (0)
[Mar 15 15:26:12] WARNING[21786]: chan_misdn.c:5171 chan_misdn_log: Extension can never match, so disconnecting
P[ 2] I SEND:RELEASE oad:!▒1703246195▒6018988} dad▒6018988}▒▒ pid:6
P[ 2]  --> channel:0 mode:TE cause:16 ocause:1 rad: cad:
P[ 2]  --> info_dad: onumplan:6 dnumplan:7 rnumplan:  cpnnumplan:0
P[ 2]  --> hangup
P[ 2] * IND : HANGUP    pid:6 ctx:line-in dad▒6018988}▒▒ oad:!▒1703246195▒6018988} State:EXTCANTMATCH
P[ 2]  --> out_cause:16
P[ 2]  --> state:EXTCANTMATCH

ausgehender Anruf im CLI:
Code:
P[ 1] I IND :NEW_CHANNEL oad: dad: pid:7 state:none
P[ 1]  --> channel:1 mode:NT cause:16 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] Chan not existing at the moment bc->l3id:10040 bc:0x81a4328 event:NEW_CHANNEL port:1 channel:1
P[ 1] I IND :SETUP oad:6018988 dad:90391624040 pid:7 state:none
P[ 1]  --> channel:1 mode:NT cause:16 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:  cpnnumplan:0
P[ 1]  --> Bearer: Speech
P[ 1]  --> Codec: Alaw
P[ 0]  --> * NEW CHANNEL dad:90391624040 oad:6018988
P[ 1] read_config: Getting Config
P[ 1]  --> CTON: Unknown
P[ 1]  --> PRES: Restricted (0)
P[ 1]  --> SCREEN: Unscreened (0)
P[ 1] I SEND:SETUP_ACKNOWLEDGE oad:6018988 dad:90391624040 pid:7
P[ 1]  --> channel:1 mode:NT cause:16 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:  cpnnumplan:0
P[ 1]  --> TRANSPARENT Mode
    -- Executing [90391624040@isdnzap:1] Macro("mISDN/1-u5", "capicall|6018988|0391624040") in new stack
    -- Executing [s@macro-capicall:1] Set("mISDN/1-u5", "CALLERID(number)=6018988") in new stack
    -- Executing [s@macro-capicall:2] LookupCIDName("mISDN/1-u5", "") in new stack
    -- Executing [s@macro-capicall:3] Monitor("mISDN/1-u5", "wav|200703151527-6018988-0391624040|m") in new stack
    -- Executing [s@macro-capicall:4] Dial("mISDN/1-u5", "mISDN/2/0391624040") in new stack
P[ 0]  --> * NEW CHANNEL dad:0391624040 oad:(null)
P[ 2] read_config: Getting Config
P[ 2]  --> TON: Unknown
P[ 2]  --> LTON: Unknown
P[ 2]  --> CTON: Unknown
P[ 2] * CALL: 2/0391624040
P[ 2]  --> * dad:0391624040 tech:mISDN/2-u6 ctx:line-in
P[ 2]  --> pres: -1 screen: -1
P[ 2]  --> pres: 0
P[ 2]  --> PRES: Allowed (0x0)
P[ 2]  --> SCREEN: Unscreened (0x0)
P[ 2] NO OPTS GIVEN
P[ 2] I SEND:SETUP oad:6018988 dad:0391624040 pid:8
P[ 2]  --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 2]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 2]  --> * SEND: State Dialing pid:8
    -- Called 2/0391624040
P[ 2]  --> queue_hangup
P[ 2] * RELEASING CHANNEL pid:8 ctx:line-in dad:0391624040 oad:90391624040 state: CALLING
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-capicall:5] Congestion("mISDN/1-u5", "") in new stack
P[ 1]  --> * IND :      congestion pid:7
P[ 1] I SEND:RELEASE oad:6018988 dad:90391624040 pid:7
P[ 1]  --> channel:1 mode:NT cause:16 ocause:42 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:  cpnnumplan:0
P[ 1] $$$ Cleaning up bc with stid :10010100 pid:7
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:7 state:DIALING
P[ 1]  --> channel:0 mode:NT cause:16 ocause:16 rad: cad:
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1]  --> queue_hangup
P[ 1] * RELEASING CHANNEL pid:7 ctx:macro-capicall dad:s oad:6018988 state: DIALING
  == Spawn extension (macro-capicall, s, 5) exited non-zero on 'mISDN/1-u5' in macro 'capicall'
  == Spawn extension (macro-capicall, s, 5) exited non-zero on 'mISDN/1-u5'

Ich habe eigentlich nichts an den configs verändert - bis auf die neue /etc/mISDN.conf, die ich mit /usr/sbin/mISDN (scan|config|start) eingerichtet habe.

Vorher ging es - jetzt nicht mehr.

Sieht jemand meinen Fehler?

Vielen Dank im Voraus!

EDIT:

Was mir auffällt sind diese Sonderzeichen im CLI. Soweit ich weiß, dürften die dort nciht sein. Weiß jemand, a) ob das stimmt und b) was die Ursache für diese Zeichen ist?
 
Zuletzt bearbeitet:
So, ich bitte, die Störung zu entschuldigen.

Man sollte halt öfter mal ein "make clean" machen, wenn man was neues installiert...

Nachdem ich nun mISDN, mISDNuser und asterisk jeweil mit make clean, make und make install neu kompiliert und installiert habe, funzt alles bestens.

Mal sehen, wie stabil mISDN-1.1.1 ist...


Grüße
Fux
 
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.