ISDN Anrufe werden nicht weitergeleitet

ingofahle

Neuer User
Mitglied seit
17 Nov 2005
Beiträge
4
Punkte für Reaktionen
0
Punkte
0
Hallo,

nachdem ich mein Trixbox 1.0 mit mISDN installiert bekommen habe(dank dieses Forums )
tritt folgendes Problem auf:

Die Anrufen werden zwar Angenommen jedoch nicht weitergleitet. Der Gegenstelle wird dann ein Besetzt-Zeichen gemeldet.
siehe log aus dem asterisk

Code:
P[ 1] set_channel: bc->channel:0 channel:1
P[ 1] set_chan_in_stack: 1
P[ 1] I IND :SETUP oad:18015557779094 dad:929200 pid:4 state:none
P[ 1]  --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1]  --> info_dad: onumplan:2 dnumplan:4 rnumplan:  cpnnumplan:0
P[ 1]  --> screen:0 --> pres:0
P[ 1]  --> channel:1 caps:Speech pi:0 keypad: sending_complete:1
P[ 1]  --> urate:0 rate:16 mode:0 user1:0
P[ 1]  --> pid:4 addr:0 l3id:20003
P[ 1]  --> b_stid:0 layer_id:0
P[ 1]  --> bc_state:BCHAN_CLEANED
P[ 1]  --> Bearer: Speech
P[ 1]  --> Codec: Alaw
P[ 0]  --> * NEW CHANNEL dad:929200 oad:18015557779094
P[ 1]  --> CTON: Unknown
P[ 1] EXPORT_PID: pid:4
P[ 1]  --> PRES: Restricted (0)
P[ 1]  --> SCREEN: Unscreened (0)
P[ 1] I SEND:RELEASE oad:018015557779094 dad:929200 pid:4
P[ 1]  --> bc_state:BCHAN_CLEANED
P[ 1]  --> mode:TE cause:16 ocause:1 rad: cad:
P[ 1]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1]  --> info_dad: onumplan:2 dnumplan:4 rnumplan:  cpnnumplan:0
P[ 1]  --> screen:0 --> pres:0
P[ 1]  --> channel:1 caps:Speech pi:0 keypad: sending_complete:1
P[ 1]  --> urate:0 rate:16 mode:0 user1:0
P[ 1]  --> pid:4 addr:0 l3id:20003
P[ 1]  --> b_stid:0 layer_id:0
P[ 1] MGMT: Short status dinfo 2000001
P[ 1] MGMT: SSTATUS: L2_ESTABLISH
P[ 1] empty_chan_in_stack: 1
P[ 1] $$$ CLEANUP CALLED pid:4
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:4 state:EXTCANTMATCH
P[ 1]  --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1]  --> screen:0 --> pres:0
P[ 1]  --> channel:0 caps:Speech pi:0 keypad: sending_complete:0
P[ 1]  --> urate:0 rate:16 mode:0 user1:0
P[ 1]  --> pid:4 addr:0 l3id:20003
P[ 1]  --> b_stid:0 layer_id:0
P[ 1]  --> bc_state:BCHAN_CLEANED
P[ 1] * IND : HANGUP    pid:4 ctx:isdn-ankommend dad:929200 oad:018015557779094 State:EXTCANTMATCH
P[ 1]  --> l3id:20003
P[ 1]  --> cause:16
P[ 1]  --> out_cause:16
P[ 1]  --> state:EXTCANTMATCH
P[ 1] Channel: mISDN/1-1 hanguped new state:CLEANING
P[ 1] release_chan: bc with l3id: 20003
P[ 1] $$$ CLEANUP CALLED pid:4
P[ 1] I IND :CLEAN_UP oad: dad: pid:4 state:none
P[ 1]  --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1]  --> screen:0 --> pres:0
P[ 1]  --> channel:0 caps:Speech pi:0 keypad: sending_complete:0
P[ 1]  --> urate:0 rate:16 mode:0 user1:0
P[ 1]  --> pid:4 addr:0 l3id:20003
P[ 1]  --> b_stid:0 layer_id:0
P[ 1]  --> bc_state:BCHAN_CLEANED
P[ 1] MGMT: Short status dinfo 2000000
P[ 1] MGMT: SSTATUS: L2_RELEASED


meine Portinfo:

Code:
[root@asterisk1 misdn]# ./portinfo

Port  1: TE-mode BRI S/T interface line (for phone lines)
 -> Protocol: DSS1 (Euro ISDN)
 -> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
 -> childcnt: 2
 * Port NOT useable for PBX
--------

mISDN_close: fid(3) isize(131072) inbuf(0x9f49060) irp(0x9f49060) iend(0x9f49060


Das ist meine mISDN.conf

Code:
[general]
debug=3
stop_tone_after_first_digit=no
append_digits2exten=yes
bridging=no
misdn_init=/etc/misdn-init.conf

[default]
language=de

[te-misdn]
ports=1
msns=*
context=isdn-ankommend

[nt-misdn]
ports=2
msns=*
context=isdn-local

Ganz vergessen:
Die ausgehenden Anrufen über ISDN klappen ebefalls nicht.
Sip ist ohne Probleme möglich:

Code:
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/203-d4d7", "No recording needed") in new stack
    -- Executing Macro("SIP/203-d4d7", "outbound-callerid|1") in new stack
    -- Executing GotoIf("SIP/203-d4d7", "1?start") in new stack
    -- Goto (macro-outbound-callerid,s,3)
    -- Executing NoOp("SIP/203-d4d7", "REALCALLERIDNUM is 203") in new stack
    -- Executing Set("SIP/203-d4d7", "USEROUTCID=929200") in new stack
    -- Executing Set("SIP/203-d4d7", "EMERGENCYCID=") in new stack
    -- Executing Set("SIP/203-d4d7", "TRUNKOUTCID=929200") in new stack
    -- Executing GotoIf("SIP/203-d4d7", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,11)
    -- Executing GotoIf("SIP/203-d4d7", "0?usercid") in new stack
    -- Executing Set("SIP/203-d4d7", "CALLERID(all)=929200") in new stack
    -- Executing GotoIf("SIP/203-d4d7", "0?report") in new stack
    -- Executing Set("SIP/203-d4d7", "CALLERID(all)=929200") in new stack
    -- Executing NoOp("SIP/203-d4d7", "CallerID set to "" <929200>") in new stack
    -- Executing Set("SIP/203-d4d7", "GROUP()=OUT_1") in new stack
    -- Executing GotoIf("SIP/203-d4d7", "0?108") in new stack
    -- Executing Set("SIP/203-d4d7", "DIAL_NUMBER=08704929200") in new stack
    -- Executing Set("SIP/203-d4d7", "DIAL_TRUNK=1") in new stack
    -- Executing AGI("SIP/203-d4d7", "fixlocalprefix") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
  fixlocalprefix: Could not parse /etc/asterisk/localprefixes.conf
    -- AGI Script fixlocalprefix completed, returning 0
    -- Executing Set("SIP/203-d4d7", "OUTNUM=08704929200") in new stack
    -- Executing Set("SIP/203-d4d7", "custom=ZAP/g0") in new stack
    -- Executing GotoIf("SIP/203-d4d7", "0?16") in new stack
    -- Executing Dial("SIP/203-d4d7", "ZAP/g0/08704929200|120|r") in new stack
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Goto("SIP/203-d4d7", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing NoOp("SIP/203-d4d7", "Dial failed due to CHANUNAVAIL") in new stack
    -- Executing Macro("SIP/203-d4d7", "outisbusy|") in new stack
[code]

Habe ich eine Einstellung vergessen oder falsch gemacht. Danke für Euren Rat
 
Zuletzt bearbeitet:
sieht so aus als ob die gewählte nr. nicht in der extensions.conf enthalten ist.
 
hallo christian,

danke für den hinweis.
habe Sie eintragen.

Code:
exten => 929468/929468,1,Set(FROM_DID=929468/929468)
exten => 929468/929468,n,Goto(ext-local,203,1)

allerdings ohne erfolg

hier der auszug aus dem asterisk log
Code:
P[ 1] * IND : HANGUP    pid:13 ctx:isdn-ankommend dad:929468 oad:018015557779094 State:EXTCANTMATCH
P[ 1]  --> l3id:2000c
P[ 1]  --> cause:16
P[ 1]  --> out_cause:16
P[ 1]  --> state:EXTCANTMATCH
P[ 1] Channel: mISDN/1-1 hanguped new state:CLEANING
P[ 1] release_chan: bc with l3id: 2000c
P[ 1] $$$ CLEANUP CALLED pid:13
P[ 1] I IND :CLEAN_UP oad: dad: pid:13 state:none
P[ 1]  --> mode:TE cause:16 ocause:16 rad: cad:
P[ 1]  --> facility:FAC_NONE out_facility:FAC_NONE
P[ 1]  --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1]  --> screen:0 --> pres:0
P[ 1]  --> channel:0 caps:Speech pi:0 keypad: sending_complete:0
P[ 1]  --> urate:0 rate:16 mode:0 user1:0
P[ 1]  --> pid:13 addr:0 l3id:2000c
P[ 1]  --> b_stid:0 layer_id:0
P[ 1]  --> bc_state:BCHAN_CLEANED
 
das matched immer noch nicht weil du dieselbe callerid wie extension im dialplan einträgst.

mach deine extensions.conf einfach so:

exten => 929468,1,Set(FROM_DID=929468/929468)
exten => 929468,n,Goto(ext-local,203,1)


das sollte dann gehen
 
hab die änderung eingetragen.

nun startet aber asterisk gar nicht mehr!!!
Habe die Einstellungen wieder auf den urzustand gebracht. Doch asterisk kommt einfach nicht.

Folgende Eintrage habe ich in den Logs gefunden:

Code:
Jul 25 13:55:40 WARNING[5105] chan_zap.c: Unable to open '/dev/zap/channel': No such file or directory
Jul 25 13:55:40 ERROR[5105] chan_zap.c: Unable to open channel 1: No such file or directory
here = 0, tmp->channel = 1, channel = 1
Jul 25 13:55:40 ERROR[5105] chan_zap.c: Unable to register channel '1'


 [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri))
mISDN_close: fid(13) isize(131072) inbuf(0xb7caa008) irp(0xb7caa008) iend(0xb7caa008)

habe nach dem Fehler schon im forum gesucht, allerdings nichts passenden gefunden.

danke schonmal für die schnelle hilfe
 
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.