Immer wieder Probleme mit ISDN

yuraukar

Neuer User
Mitglied seit
23 Feb 2005
Beiträge
92
Punkte für Reaktionen
0
Punkte
0
Asterisk ist mit chan_capi-cm.0.6.1 per Fritz Card direkt am ISDN-Anschluss eingerichtet. Als Telefon kommen ein Ciso 7960 per chan_sccp und ein X-Lite (nur intern) per SIP zum Einsatz.
Grundsätzlich funktioniert diese Kombination. Man kann raustelefonieren und angerufen werden.

Leider tritt bei längerem Betrieb immer wieder die unangenehme Situation auf, dass eingehende Anrufe per ISDN am Cisco Telefon zwar klingeln, nimmt man aber ab, so ist in keine Richtung Ton zu hören. Startet man Asterisk neu (reload reicht nicht), so funktioniert alles wieder.

Ich habe länger gesucht um zu finden, an welchem channel es liegt und bin zur Überzeugung gekommen, dass es am chan_capi liegen muss, weil:
- in diesem Zustand auch die Voicemail-Ansage für einen ISDN Anrufer nicht zu hören ist. Ich sehe im Asterisk debug, dass Asterisk die Ansage abspielt, aber man hört nix.
- in diesem Zustand auch music on hold für den ISDN Anrufer nicht zu hören ist.
- in diesem Zustand das SIP Telefon und das Cisco Telefon problemlos miteinander telefonieren können.

Erstaunlicherweise (?!) kann das SIP und das Cisco Telefon aber per ISDN rauswählen und alles klappt normal. Nur eingehende Anrufe sind ein Problem.

Ich habe gestern in diesem Zustand mal ein capi debug bei eingehendem ISDN Anruf gemacht.
Nachdem ich aufgelegt habe ist übrigens der Linux Rechner mit kernel panic abgestürzt :shock: . Das ist hier bisher noch nie passiert.

Anrufer 999999 versucht 5555555 anzurufen:
Code:
CAPI Debugging Enabled
CONNECT_IND ID=001 #0xa0b2 LEN=0056
  Controller/PLCI/NCCI            = 0x501
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>5555555
  CallingPartyNumber              = <21 81>5619999999
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = <04>
   Facilitydataarray              = default
   SendingComplete                = default

    -- CONNECT_IND (PLCI=0x501,DID=5555555,CID=5619999999,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='5555555' DNID='5555555' MSN
  == ISDN1: Incoming call '05619999999' -> '5555555'
INFO_IND ID=001 #0xa0b3 LEN=0016
  Controller/PLCI/NCCI            = 0x501
  InfoNumber                      = 0x7e
  InfoElement                     = <04>

INFO_RESP ID=001 #0xa0b3 LEN=0012
  Controller/PLCI/NCCI            = 0x501

    -- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x501)
INFO_IND ID=001 #0xa0b4 LEN=0023
  Controller/PLCI/NCCI            = 0x501
  InfoNumber                      = 0x70
  InfoElement                     = <c1>5555555

INFO_RESP ID=001 #0xa0b4 LEN=0012
  Controller/PLCI/NCCI            = 0x501

    -- ISDN1: info element CALLED PARTY NUMBER
       > ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0xa0b5 LEN=0016
  Controller/PLCI/NCCI            = 0x501
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

INFO_RESP ID=001 #0xa0b5 LEN=0012
  Controller/PLCI/NCCI            = 0x501

    -- ISDN1: info element CHANNEL IDENTIFICATION 8a
INFO_IND ID=001 #0xa0b6 LEN=0016
  Controller/PLCI/NCCI            = 0x501
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP ID=001 #0xa0b6 LEN=0012
  Controller/PLCI/NCCI            = 0x501

    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/5555555-1d: 5555555 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/5555555-1d
    -- Executing Macro("CAPI/ISDN1/5555555-1d", "call-intern|5555555|5555555") in new stack
    -- Executing Dial("CAPI/ISDN1/5555555-1d", "SCCP/5555555|15") in new stack
    -- SEP0013C4FCDC57: Asterisk request to call SCCP/5555555-00000025
    -- Called 5555555
    -- SCCP/5555555-00000025 is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/5555555-1d
ALERT_REQ ID=001 #0x61f5 LEN=0018
  Controller/PLCI/NCCI            = 0x501
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

ALERT_CONF ID=001 #0x61f5 LEN=0014
  Controller/PLCI/NCCI            = 0x501
  Info                            = 0x0

    -- SEP0013C4FCDC57: Taken Offhook
    -- SEP0013C4FCDC57: Answer the channel 5555555-37
    -- SCCP/5555555-00000025 answered CAPI/ISDN1/5555555-1d
  == ISDN1: Answering for 5555555
CONNECT_RESP ID=001 #0xa0b2 LEN=0043
  Controller/PLCI/NCCI            = 0x501
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = <00 80>5555555
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

CONNECT_ACTIVE_IND ID=001 #0xa0b7 LEN=0015
  Controller/PLCI/NCCI            = 0x501
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

CONNECT_ACTIVE_RESP ID=001 #0xa0b7 LEN=0012
  Controller/PLCI/NCCI            = 0x501

CONNECT_B3_IND ID=001 #0xa0b8 LEN=0013
  Controller/PLCI/NCCI            = 0x80201
  NCPI                            = default

       > CAPI: Command=CONNECT_B3_IND,0x8486: no interface for PLCI=0x201, MSGNUM=0xa0b8!
INFO_IND ID=001 #0xa0b9 LEN=0033
  Controller/PLCI/NCCI            = 0x1
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a1 0f 02 02 b4 96 06 06 04 00 82>g<01 0a 02 01 01>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0xa0b9!
    -- SEP0013C4FCDC57 is Onhook
    -- SEP0013C4FCDC57: Ending call 37 on line 5555555
    -- SCCP: Asterisk request to hangup Inbound channel SCCP/5555555-00000025
  == Spawn extension (macro-call-intern, s, 1) exited non-zero on 'CAPI/ISDN1/5555555-1d' in macro 'call-intern'
  == Spawn extension (capi-in, 5555555, 1) exited non-zero on 'CAPI/ISDN1/5555555-1d'
    -- Executing Hangup("CAPI/ISDN1/5555555-1d", "") in new stack
  == Spawn extension (capi-in, h, 1) exited non-zero on 'CAPI/ISDN1/5555555-1d'
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=0)
DISCONNECT_REQ ID=001 #0x61f6 LEN=0018
  Controller/PLCI/NCCI            = 0x501
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default 
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

DISCONNECT_CONF ID=001 #0x61f6 LEN=0014
  Controller/PLCI/NCCI            = 0x501
  Info                            = 0x0

    -- SEP0013C4FCDC57: Statistics from 05619999999 callid: 37 Packets sent: 454 rcvd: 0 lost: 0 jitter: 0 latency: 0
DISCONNECT_IND ID=001 #0xa0ba LEN=0014
  Controller/PLCI/NCCI            = 0x501
  Reason                          = 0x3400

DISCONNECT_RESP ID=001 #0xa0ba LEN=0012
  Controller/PLCI/NCCI            = 0x501

  == ISDN1: Interface cleanup PLCI=0x501
DISCONNECT_B3_IND ID=001 #0xa0bb LEN=0015
  Controller/PLCI/NCCI            = 0x80201
  Reason_B3                       = 0x3307
  NCPI                            = default

       > CAPI: Command=DISCONNECT_B3_IND,0x848e: no interface for PLCI=0x201, MSGNUM=0xa0bb!

Für Hilfe wäre ich dankbar....
 
Hallo yuraukar,
erstmal vielen Dank fuer diese genaue Fehlerbeschreibung, diese Meldung mit log ist vorbildlich!
So, nun zum Problem. Der Fehler ist im Log genau zu erkennen:
CAPI: Command=CONNECT_B3_IND,0x8486: no interface for PLCI=0x201, MSGNUM=0xa0b8!
Diese Meldung sagt uns, dass der B-Kanal aufgebaut werden soll, aber chan_capi zu der Kanal-Referenz PLCI=0x201 nichts finden kann.
Nun zur Ursache: ich vermute ein Fehler im Treiber der FritzCard (welchen Treiber verwendest Du?). Denn die anderen Messages der Karte kommen mit PLCI 0x501, nur auf einmal wird auf 0x201 gesprungen, und das ist falsch.

Armin
 
Hm ja, welchen Treiber verwende ich denn? :oops:

Ich habe in src ein Unterverzeichnis fritz, da sind die sourcen drin, steht aber keine Version dabei.

Welche Treiber (Fritz/CAPI) sollte ich denn am Besten verwenden?

(Ich sollte noch sagen, dass das hier ein Debian sarge ist und eine Fritz ISDN. lspci sagt "Network controller: AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] (rev 02)")
 
Keine Ahnung, welcher Treiber der beste ist. Fuer die FritzCard kenne ich nur zwei Moeglichkeiten: fcpci von AVM als binary-only und mISDN. Mit dem Status der Debian Pakete kenne ich mich auch nicht aus. Eventuell muss eine neue Version von AVM benutzt werden.

Armin
 
..also ich hab ein ähnliches Problem unter debian. wenn ich den internen S0 -Bus nicht weiter benutze funktioniert alles einwandfrei. Ist jedoch etwas "Bewegung" auf dem S0 zb. zwei ISDN Telefone telefonieren intern, hängt sich asterisk jedesmal "weg" und kann keine anrufe mehr entgegen nehmen die vom gleichem internen S0-Bus kommen. es hilft nur ein neustart. Erst dachte ich, da liegt an einer schlechten Verkabelung, jedoch unter Suse hab ich keine Probleme. Ich bin fast überzeugt, das es irgenwie an den avm-treibern beim einsatz von debian liegt. bin daher wieder bei suse..schade eigentlich
 
Nochmal auf diesem Thema. Nun habe ich gerade mal wieder den Zustand, dass das Telefon nicht klingelt wenn per ISDN angerufen wird. CAPI debug wirft nur eine Zeile aus:

Code:
CAPI Debugging Enabled
       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0xf030!

Ist das das gleiche Problem wie vorher?

Ich bin hier an Debian gebunden. Kennt einer mehr Infos für AVM auf Debian?
 
Das kann das gleiche Problem sein. Der Treiber meldet hier anstelle z.B. CONNECT_IND nur ein INFO_IND und eben ausserhalb einer Verbindung (also ohne echte PLCI). Mit PLCI=0x1 wird nur der Controller (Port) abgeprochen, aber nicht eine Verbindung.

Armin
 
Zum Capi/Kartenreiber: Ich verwende unter Debian den neusten von AVM ohne Probleme:
fcpci-suse93-3.11-07.tar.gz
vom 07.07.2005 (lt. AVM Webseite).
Das kompilieren ist wirklich kein Problem, geht alles ohne Probleme -
sofern die Kernelsourcen/header vorhanden sind bzw. ebenfalls kompiliert sind...
(Normalerweise schon konfiguriert: Wie in der AVM Readme beschrieben auf die korrekte Kernelconfig achten)
 
Ich habe mal auf den o.g. Treiber aktualisiert. Mal sehen, wie es sich die nächsten Tage verhält...
 
Das Problem ist schneller wieder aufgetreten, als gedacht:

Code:
CAPI Debugging Enabled
    -- CONNECT_IND (PLCI=0x301,DID=9999999,CID=5615555555,CIP=0x10,CONTROLLER=0x1)
  == ISDN1: Incoming call '05615555555' -> '9999999'
    -- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x301)
    -- ISDN1: info element CALLED PARTY NUMBER
    -- ISDN1: info element CHANNEL IDENTIFICATION 8a
    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/9999999-a: 9999999 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/9999999-a
    -- Executing Macro("CAPI/ISDN1/9999999-a", "call-intern|9999999|9999999") in new stack
    -- Executing Dial("CAPI/ISDN1/9999999-a", "SCCP/9999999|15") in new stack
    -- SEP0013C4FCDC57: Asterisk request to call SCCP/9999999-0000000c
    -- Called 9999999
    -- SCCP/9999999-0000000c is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/9999999-a
    -- SEP0013C4FCDC57: Taken Offhook
    -- SEP0013C4FCDC57: Answer the channel 9999999-12
    -- SCCP/9999999-0000000c answered CAPI/ISDN1/9999999-a
  == ISDN1: Answering for 9999999
       > CAPI: Command=CONNECT_B3_IND,0x8486: no interface for PLCI=0x201, MSGNUM=0x23bf!
       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0x23c0!
    -- SEP0013C4FCDC57 is Onhook
    -- SEP0013C4FCDC57: Ending call 12 on line 9999999
    -- SCCP: Asterisk request to hangup Inbound channel SCCP/9999999-0000000c
  == Spawn extension (macro-call-intern, s, 1) exited non-zero on 'CAPI/ISDN1/9999999-a' in macro 'call-intern'
  == Spawn extension (capi-in, 9999999, 1) exited non-zero on 'CAPI/ISDN1/9999999-a'
    -- Executing Hangup("CAPI/ISDN1/9999999-a", "") in new stack
  == Spawn extension (capi-in, h, 1) exited non-zero on 'CAPI/ISDN1/9999999-a'
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=0)
    -- SEP0013C4FCDC57: Statistics from 05615555555 callid: 12 Packets sent: 162 rcvd: 0 lost: 0 jitter: 0 latency: 0
  == ISDN1: Interface cleanup PLCI=0x301
       > CAPI: Command=DISCONNECT_B3_IND,0x848e: no interface for PLCI=0x201, MSGNUM=0x23c2!

Der wechsel des Treibers hat also nichts gebracht. Ich würde gern nochmal Rückmeldung bekommen:
- ist das wirklich ein AVM-Treiber Problem unter Debian und ganz sicher kein chan_capi Problem?
- ist das ein Problem unter Debian? Könnte ich etwas falsch konfiguriert haben?

Sollte ich als Alternative mISDN versuchen? (habe ich bisher 0 Erfahrung mit) Werden damit die Probleme nicht auftreten?
 
Ganz sicher kann ich nicht sein, aber es sieht doch sehr danach aus, denn die entsprechende Meldung
> CAPI: Command=CONNECT_B3_IND,0x8486: no interface for PLCI=0x201, MSGNUM=0x23bf!
kommt von CAPI, also vom Treiber.
Zu mISDN kann ich nichts sagen, hoere aber immer wieder gute Meldungen.
Wobei dann wohl besser chan_misdn waere.... (aber auch da habe ich keine Erfahrung)

Armin
 
Als Alternative: welche ISDN-Karte macht denn mit chan_capi unter Debian keine Probleme?

Ich bin von chan_capi eigentlich ganz angetan. chan_misdn kann ich auch mal ausprobieren, muss ich mich aber erstmal einlesen.
 
yuraukar schrieb:
Als Alternative: welche ISDN-Karte macht denn mit chan_capi unter Debian keine Probleme?

Ich bin von chan_capi eigentlich ganz angetan. chan_misdn kann ich auch mal ausprobieren, muss ich mich aber erstmal einlesen.
Eine Fritzcard "AVM Audiovisuelles MKTG & Computer System GmbH A1 ISDN [Fritz] (rev 02)" ;)

Also bei mir läuft diese ohne Probleme (ich weiß das hilft dir nicht...) und mISDN läuft wohl nur wenn man Glück hat bzw. man sollte bei Erfolgsmeldungen dann nach Beiträgen desselben Forumsteilnehmers suchen, öfters tauchen dann nach ein paar Tagen doch Probleme auf.


Meine Debiankonfig s. Signatur; der isdn4linux kram ist nicht installiert/geladen (aus dem Kernel auch entfernt, allerdings lief es vor diesem Schritt auch normal ), sogar capisuite läuft nebenher, dazu hängt noch eine Telefonanlage am externen S0 Bus.

(das einzige was bei mir Probleme macht, ist die Wartemusik via mpg123, da hängt sich teilweise der ganze Rechner auf...)
 
Hm, bei mir läuft Kernel 2.6.10 (deiner ist 2.6.12-ct-1). Ich kann mal auf 2.6.12 updaten.
Deine Signatur sagt noch "BRIstuffed-0.3 PRE-1c" - ich denke, damit habe ich mich nicht auseinandergesetzt. Sollte ich das? Wenn ja, wie?

Als Fritzcard haben wir beide die gleiche. Scheint also nicht das Problem zu sein.

Music on hold mit mpg123 läuft hier ohne probleme (ich weiss, das hilft dir wiederum nicht...).
 
also mir konnte ich ein ähnliches problem lösen, als ich in der capi.conf den Eintrag> incomingmsn=* < gesetzt hatte. vorher hatte ich dort eine fest nummer eingetragen
 
Update: auch die Aktualisierung auf einen Kernel 2.6.14 (das neuste, was für ein Debian zu haben ist), hat keine Besserung gebracht.

Ich habe jetzt als "letzten Versuch" auf Anraten von blauerpeti incomingmsn=* gesetzt, bisher stand dort eine feste Nummer. Mal sehen, ob das etwas bringt.

Als Alternative: ich habe gesehen, dass der 2.6.14er Kernel CAPI support für AVM B1 PCI Karten mitbringt. Hat jemand damit Erfahrung? B1 Karten gibt es ja bei ebay schon für kleines Geld. Sollte ich eventuell wechseln?
 
Update: tatsächlich habe ich seit 3 Tagen keine Probleme mehr seit ich incomingmsn = * gesetzt habe. Ich hoffe es hält.

Ist das nun doch ein asterisk/chan_capi Fehler?
 
Ich moechte das gerne genauer wissen. Koenntest Du mir ein 'set verbose 5' und 'capi debug' log schicken von einem 'noch funktionierenden' Anruf?
(oder besser einmal abgehend und ankommend). Aber eben mit der alten conf (incommingmsn mit Nummer).

Armin
 
Ankommend:
Code:
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x5ef0 LEN=0056
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>5555555
  CallingPartyNumber              = <21 81>5619999999
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = <04>
   Facilitydataarray              = default
   SendingComplete                = default

    -- CONNECT_IND (PLCI=0x101,DID=5555555,CID=5619999999,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='5555555' MSN
  == ISDN1: Incoming call '05619999999' -> '5555555'
INFO_IND ID=001 #0x5ef1 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x7e
  InfoElement                     = <04>

INFO_RESP ID=001 #0x5ef1 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x5ef2 LEN=0023
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <c1>5555555

INFO_RESP ID=001 #0x5ef2 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CALLED PARTY NUMBER
       > ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x5ef3 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

INFO_RESP ID=001 #0x5ef3 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CHANNEL IDENTIFICATION 8a
INFO_IND ID=001 #0x5ef4 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP ID=001 #0x5ef4 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/5555555-2c: 5555555 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/5555555-2c
    -- Executing Macro("CAPI/ISDN1/5555555-2c", "call-intern|5555555|5555555") in new stack
    -- Executing Dial("CAPI/ISDN1/5555555-2c", "SCCP/5555555|15") in new stack
    -- SEP0013C4FCDC57: Asterisk request to call SCCP/5555555-00000025
    -- Called 5555555
    -- SCCP/5555555-00000025 is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/5555555-2c
ALERT_REQ ID=001 #0x2486 LEN=0018
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

ALERT_CONF ID=001 #0x2486 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- SEP0013C4FCDC57: Taken Offhook
    -- SEP0013C4FCDC57: Answer the channel 5555555-37
    -- SCCP/5555555-00000025 answered CAPI/ISDN1/5555555-2c
  == ISDN1: Answering for 5555555
CONNECT_RESP ID=001 #0x5ef0 LEN=0043
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = <00 80>5555555
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

CONNECT_ACTIVE_IND ID=001 #0x5ef5 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

CONNECT_ACTIVE_RESP ID=001 #0x5ef5 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CONNECT_B3_IND ID=001 #0x5ef6 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

CONNECT_B3_RESP ID=001 #0x5ef6 LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reject                          = 0x0
  NCPI                            = default

CONNECT_B3_ACTIVE_IND ID=001 #0x5ef7 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

CONNECT_B3_ACTIVE_RESP ID=001 #0x5ef7 LEN=0012
  Controller/PLCI/NCCI            = 0x10101

       > ISDN1: too much voice to send for NCCI=0x10101
INFO_IND ID=001 #0x5efa LEN=0033
  Controller/PLCI/NCCI            = 0x1
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a1 0f 02 02 a3 83 06 06 04 00 82>g<01 0a 02 01 01>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0x5efa!
    -- SEP0013C4FCDC57 is Onhook
    -- SEP0013C4FCDC57: Ending call 37 on line 5555555
    -- SCCP: Asterisk request to hangup Inbound channel SCCP/5555555-00000025
  == Spawn extension (macro-call-intern, s, 1) exited non-zero on 'CAPI/ISDN1/5555555-2c' in macro 'call-intern'
  == Spawn extension (capi-in, 5555555, 1) exited non-zero on 'CAPI/ISDN1/5555555-2c'
    -- Executing Hangup("CAPI/ISDN1/5555555-2c", "") in new stack
  == Spawn extension (capi-in, h, 1) exited non-zero on 'CAPI/ISDN1/5555555-2c'
    -- SEP0013C4FCDC57: Statistics from 05619999999 callid: 37 Packets sent: 457 rcvd: 455 lost: 0 jitter: 0 latency: 0
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=0)
DISCONNECT_B3_REQ ID=001 #0x264e LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

DISCONNECT_B3_CONF ID=001 #0x264e LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

DISCONNECT_B3_IND ID=001 #0x60c2 LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reason_B3                       = 0x3301
  NCPI                            = default

DISCONNECT_B3_RESP ID=001 #0x60c2 LEN=0012
  Controller/PLCI/NCCI            = 0x10101

DISCONNECT_REQ ID=001 #0x264f LEN=0018
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

DISCONNECT_CONF ID=001 #0x264f LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

DISCONNECT_IND ID=001 #0x60c3 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3400

DISCONNECT_RESP ID=001 #0x60c3 LEN=0012
  Controller/PLCI/NCCI            = 0x101

  == ISDN1: Interface cleanup PLCI=0x101

Abgehend (dabei ist mir 2x das asterisk abgestürzt)
Code:
    -- Executing Macro("SCCP/5555555-00000001", "call-extern|05619999999|5555555") in new stack
    -- Executing SetCallerID("SCCP/5555555-00000001", "5555555") in new stack
    -- Executing Dial("SCCP/5555555-00000001", "Capi/contr1/05619999999/bo|30") in new stack
       > data = contr1/05619999999/bo
       > parsed dialstring: 'contr1' '' '05619999999' 'bo'
       > capi request controller = 1
       > parsed dialstring: 'contr1' '' '05619999999' 'bo'
  == ISDN1: Call CAPI/ISDN1/05619999999-0 with B3 overlap (pres=0x00, ton=0x00)
CONNECT_REQ ID=001 #0x0003 LEN=0050
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x10
  CalledPartyNumber               = <80>
  CallingPartyNumber              = <00 80>5555555
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  BC                              = default
  LLC                             = default
  HLC                             = default
  AdditionalInfo
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

    -- Called contr1/05619999999/bo
CONNECT_CONF ID=001 #0x0003 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- ISDN1: received CONNECT_CONF PLCI = 0x101
INFO_IND ID=001 #0x630e LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x800d
  InfoElement                     = default

INFO_RESP ID=001 #0x630e LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element SETUP ACK
INFO_REQ ID=001 #0x0004 LEN=0031
  Controller/PLCI/NCCI            = 0x101
  CalledPartyNumber               = <80>05619999999
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

       > ISDN1: sent CALLEDPARTYNUMBER INFO digits = '05619999999' (PLCI=0x101)
INFO_IND ID=001 #0x630f LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <82 88>

INFO_RESP ID=001 #0x630f LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element PI 82 88
       > ISDN1: In-band information available
CONNECT_B3_REQ ID=001 #0x0005 LEN=0013
  Controller/PLCI/NCCI            = 0x101
  NCPI                            = default

INFO_IND ID=001 #0x6310 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP ID=001 #0x6310 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_CONF ID=001 #0x0004 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- CAPI/ISDN1/05619999999-0 is making progress passing it to SCCP/5555555-00000001
CONNECT_B3_CONF ID=001 #0x0005 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

CONNECT_B3_ACTIVE_IND ID=001 #0x6311 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

CONNECT_B3_ACTIVE_RESP ID=001 #0x6311 LEN=0012
  Controller/PLCI/NCCI            = 0x10101

CONNECT_IND ID=001 #0x631a LEN=0048
  Controller/PLCI/NCCI            = 0x201
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>9999999
  CallingPartyNumber              = <21 81>5615555555
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x201,DID=9999999,CID=5615555555,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='5555555' DNID='9999999' MSN
Dec 16 10:01:06 WARNING[10840]: chan_capi.c:3249 capi_handle_connect_indication: did not find device for msn = 9999999
CONNECT_RESP ID=001 #0x631a LEN=0034
  Controller/PLCI/NCCI            = 0x201
  Reject                          = 0x1
  BProtocol
   B1protocol                     = 0x0
   B2protocol                     = 0x0
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

       > CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x201, MSGNUM=0x631a!
INFO_IND ID=001 #0x631b LEN=0023
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x70
  InfoElement                     = <c1>9999999

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x201, MSGNUM=0x631b!
INFO_IND ID=001 #0x631c LEN=0016
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x201, MSGNUM=0x631c!
INFO_IND ID=001 #0x631d LEN=0016
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x201, MSGNUM=0x631d!
DISCONNECT_IND ID=001 #0x631e LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Reason                          = 0x0

       > CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x201, MSGNUM=0x631e!
INFO_IND ID=001 #0x6323 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

INFO_RESP ID=001 #0x6323 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CALL PROCEEDING
INFO_IND ID=001 #0x6329 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8001
  InfoElement                     = default

INFO_RESP ID=001 #0x6329 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element ALERTING
INFO_IND ID=001 #0x632a LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <82 88>

INFO_RESP ID=001 #0x632a LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element PI 82 88
       > ISDN1: In-band information available
INFO_IND ID=001 #0x632b LEN=0028
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x28
  InfoElement                     = CCNR moeglich

INFO_RESP ID=001 #0x632b LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element DSP
INFO_IND ID=001 #0x632c LEN=0033
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a1 0f 02 02 a3 c0 06 06 04 00 82>g<01 01 02 01 02>

INFO_RESP ID=001 #0x632c LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element FACILITY
    -- CAPI/ISDN1/05619999999-0 is ringing
INFO_IND ID=001 #0x6389 LEN=0033
  Controller/PLCI/NCCI            = 0x1
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a1 0f 02 02 a3 c2 06 06 04 00 82>g<01 0a 02 01 02>

       > CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0x6389!
INFO_IND ID=001 #0x638a LEN=0020
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x29
  InfoElement                     = <05 0c 10 0a 03>

INFO_RESP ID=001 #0x638a LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element Date/Time 05/12/16 10:03
CONNECT_ACTIVE_IND ID=001 #0x638b LEN=0015
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

CONNECT_ACTIVE_RESP ID=001 #0x638b LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- CAPI/ISDN1/05619999999-0 answered SCCP/5555555-00000001
    -- SCCP: Outgoing call has been answered SCCP/5555555-00000001 on 5555555@SEP0013C4FCDC57-1
INFO_IND ID=001 #0x63e3 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8045
  InfoElement                     = default

INFO_RESP ID=001 #0x63e3 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element DISCONNECT
    -- ISDN1: Disconnect case 2
INFO_IND ID=001 #0x63e4 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <82 88>

INFO_RESP ID=001 #0x63e4 LEN=0012
 Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element PI 82 88
       > ISDN1: In-band information available
INFO_IND ID=001 #0x63e5 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

INFO_RESP ID=001 #0x63e5 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CAUSE 80 90
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=16)
DISCONNECT_B3_REQ ID=001 #0x005d LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

  == Spawn extension (macro-call-extern, s, 2) exited non-zero on 'SCCP/5555555-00000001' in macro 'call-extern'
  == Spawn extension (default, 05619999999, 1) exited non-zero on 'SCCP/5555555-00000001'
    -- Executing Hangup("SCCP/5555555-00000001", "") in new stack
  == Spawn extension (default, h, 1) exited non-zero on 'SCCP/5555555-00000001'
    -- SCCP: Asterisk request to hangup Outbound channel SCCP/5555555-00000001
DISCONNECT_B3_CONF ID=001 #0x005d LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

DISCONNECT_B3_IND ID=001 #0x63e6 LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reason_B3                       = 0x3301
  NCPI                            = default

DISCONNECT_B3_RESP ID=001 #0x63e6 LEN=0012
  Controller/PLCI/NCCI            = 0x10101

DISCONNECT_REQ ID=001 #0x005e LEN=0018
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

DISCONNECT_CONF ID=001 #0x005e LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- SEP0013C4FCDC57: Statistics from 05619999999 callid: 1 Packets sent: 193 rcvd: 197 lost: 0 jitter: 0 latency: 0
DISCONNECT_IND ID=001 #0x63e7 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3490

DISCONNECT_RESP ID=001 #0x63e7 LEN=0012
  Controller/PLCI/NCCI            = 0x101

       > CAPI INFO 0x3490: Normal call clearing
  == ISDN1: Interface cleanup PLCI=0x101
 
Ich denke ich habe einen Bug in chan_capi gefunden. Im CVS-HEAD (version 1.128) habe ich das mal geaendert. Kannst Du das mal testen? (Achtung, anonymous CVS bei sourceforge dauert immer etwas bis der update drin ist).

Armin
 
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.