Verbindung wird unterbrochen

Lazybone

Neuer User
Mitglied seit
29 Okt 2005
Beiträge
104
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich nehme Gespräche per ISDN/Capi an und leite diese per SIP weiter nun wird nach 2-50 sekunden immer die verbindung getrennt. Die Konsole sagt mir keine Fehlermeldung.
Da ich nich weis was ihr benötigt um genauerere aussagen zu machen sagt einfach was ihr braucht ihr poste es dann hier.

Gruß
Lazybone
 
Zuletzt bearbeitet:
Das Log mit
set verbose 5
capi debug

Armin
 
Code:
CONNECT_IND ID=002 #0x03d0 LEN=0048
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>69******
  CallingPartyNumber              = <21 83>1775******
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=69******,CID=1775******,CIP=0x10,CONTROLLER=0x1)
       > ISDN1#02: msn='*' DNID='69******' MSN
  == ISDN1#02: setting format alaw - 0x8 (alaw)
  == ISDN1#02: Incoming call '01775******' -> '69******'
INFO_IND ID=002 #0x03d1 LEN=0023
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <c1>69******

INFO_RESP ID=002 #0x03d1 LEN=0012
  Controller/PLCI/NCCI            = 0x101

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

INFO_RESP ID=002 #0x03d2 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1#02: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=002 #0x03d3 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP ID=002 #0x03d3 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1#02: info element Sending Complete
    -- ISDN1#02: CAPI/ISDN1#02/69******-2: 69****** matches in context eingehend
       > CAPI devicestate requested for ISDN1#02/69******
    -- Executing [69******@eingehend:1] Answer("CAPI/ISDN1#02/69******-2", "") in new stack
  == ISDN1#02: Answering for 69******
CONNECT_RESP ID=002 #0x03d0 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>69******
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

    -- Executing [69******@eingehend:2] Wait("CAPI/ISDN1#02/69******-2", "1") in new stack
       > CAPI devicestate requested for ISDN1#02/69******
  == Started pbx on channel CAPI/ISDN1#02/69******-2
CONNECT_ACTIVE_IND ID=002 #0x03d4 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

CONNECT_ACTIVE_RESP ID=002 #0x03d4 LEN=0012
  Controller/PLCI/NCCI            = 0x101

CONNECT_B3_IND ID=002 #0x03d5 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

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

CONNECT_B3_ACTIVE_IND ID=002 #0x03d6 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

CONNECT_B3_ACTIVE_RESP ID=002 #0x03d6 LEN=0012
  Controller/PLCI/NCCI            = 0x10101
)
    -- Executing [69******@eingehend:5] Dial("CAPI/ISDN1#02/69******-2", "SIP/02*******@arcor|200|Ttr") in new stack
    -- Called 023196******@arcor
  == ISDN1#02: Requested RINGING-Indication for CAPI/ISDN1#02/69******-2
    -- ISDN1#02: attempting ALERT in state 2
CONNECT_IND ID=002 #0x05d8 LEN=0037
  Controller/PLCI/NCCI            = 0x201
  CIPValue                        = 0x4
  CalledPartyNumber               = <c1>96******
  CallingPartyNumber              = <00 a3>
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <90 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x201,DID=96******,CID=,CIP=0x4,CONTROLLER=0x1)
       > ISDN1#01: msn='*' DNID='96******' MSN
  == ISDN1#01: setting format alaw - 0x8 (alaw)
  == ISDN1#01: Incoming call '' -> '96******'
INFO_IND ID=002 #0x05d9 LEN=0017
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x1e
  InfoElement                     = <82 83>

INFO_RESP ID=002 #0x05d9 LEN=0012
  Controller/PLCI/NCCI            = 0x201

    -- ISDN1#01: info element PI 82 83
       > ISDN1#01: Origination is non ISDN
INFO_IND ID=002 #0x05da LEN=0024
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x70
  InfoElement                     = <c1>96******

INFO_RESP ID=002 #0x05da LEN=0012
  Controller/PLCI/NCCI            = 0x201

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

INFO_RESP ID=002 #0x05db LEN=0012
  Controller/PLCI/NCCI            = 0x201

    -- ISDN1#01: info element CHANNEL IDENTIFICATION 8a
INFO_IND ID=002 #0x05dc LEN=0016
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP ID=002 #0x05dc LEN=0012
  Controller/PLCI/NCCI            = 0x201

    -- ISDN1#01: info element Sending Complete
    -- ISDN1#01: CAPI/ISDN1#01/96******-3: 96****** matches in context eingehend
       > CAPI devicestate requested for ISDN1#01/96******
    -- Executing [96******@eingehend:1] Goto("CAPI/ISDN1#01/96******-3", "023196******|s|1") in new stack
    -- Goto (023196******,s,1)
  == Auto fallthrough, channel 'CAPI/ISDN1#01/96******-3' status is 'UNKNOWN'
  == ISDN1#01: CAPI Hangingup for PLCI=0x201 in state 8
    -- ISDN1#01: activehangingup (cause=0) for PLCI=0x201
CONNECT_RESP ID=002 #0x05d8 LEN=0019
  Controller/PLCI/NCCI            = 0x201
  Reject                          = 0x2
  BProtocol                       = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo                  = default

DISCONNECT_IND ID=002 #0x05dd LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Reason                          = 0x0

DISCONNECT_RESP ID=002 #0x05dd LEN=0012
  Controller/PLCI/NCCI            = 0x201
  == ISDN1#01: Interface cleanup PLCI=0x201
       > CAPI devicestate requested for ISDN1#01/96******
       > CAPI devicestate requested for ISDN1#01/96******
    -- SIP/arcor-081fd488 is making progress passing it to CAPI/ISDN1#02/69******-2
    -- SIP/arcor-081fd488 is making progress passing it to CAPI/ISDN1#02/69******-2
    -- ast_get_srv: SRV lookup for '_sip._udp.0231.sip.arcor.de' mapped to host sbc.dus3-4.sip.arcor.de, port 5060
[Jan 16 13:12:29] WARNING[7562]: chan_sip.c:12416 handle_response_register: Got 200 OK on REGISTER that isn't a register
    -- SIP/arcor-081fd488 answered CAPI/ISDN1#02/69******-2
  == ISDN1#02: Requested Indication-STOP for CAPI/ISDN1#02/69******-2

    -- ast_get_srv: SRV lookup for '_sip._udp.0231.sip.arcor.de' mapped to host sbc.dus3-4.sip.arcor.de, port 5060
  == Spawn extension (eingehend, 69******, 5) exited non-zero on 'CAPI/ISDN1#02/69******-2'
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 2
    -- ISDN1#02: activehangingup (cause=16) for PLCI=0x101
DISCONNECT_B3_REQ ID=002 #0x1670 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

       > CAPI devicestate requested for ISDN1#02/69******
       > CAPI devicestate requested for ISDN1#02/69******
DISCONNECT_B3_CONF ID=002 #0x1670 LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

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

DISCONNECT_B3_RESP ID=002 #0x16ed LEN=0012
  Controller/PLCI/NCCI            = 0x10101

DISCONNECT_REQ ID=002 #0x1671 LEN=0013
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo                  = default

DISCONNECT_CONF ID=002 #0x1671 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

DISCONNECT_IND ID=002 #0x16ee LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3400

DISCONNECT_RESP ID=002 #0x16ee LEN=0012
  Controller/PLCI/NCCI            = 0x101

  == ISDN1#02: Interface cleanup PLCI=0x101
 
Aus Sicht von ISDN/CAPI sehe ich hier keinen Fehler.
Es kommt ein ISDN Anruf an, der auch beantwortet wird (Verbindung besteht), hier wird dann wohl per SIP weiter eine Verbindung aufgebaut. Dann kommt ein zweiter ISDN Anruf, der aber rejected wird. Danach wird die SIP Verbindung des ersten Anrufes beendet und Asterisk meldet an CAPI dass die ISDN Verbindung beendet werden soll. Wenn es also um diesen ISDN->SIP Anruf geht, dann ist die Ursache bei SIP zu suchen. Es scheint die Gegenstelle hat 'aufgelegt'.

Armin
 
hmm woran könnte es beim SIP liegen. mit SIP telefonieren funktioniert einwandfrei nur wenn weitergeleitet wird von capi funtzt es nicht mehr.
 
Das kann ich so nicht sagen. Asterisk bekommt über SIP von der Gegenstelle offensichtlich mitgeteilt, dass die Verbindung beendet wird (wird sie denn überhaupt komplett aufgebaut?). Da dies eine SIP-Frage ist, musst du wohl mit sip debug arbeiten und dann auch SIP experten Fragen.

Armin
 
so ich habe nun mal versucht den anruf vom capi per iax an meine zweite asterisk zu leiten und dort rauszu telefonieren.

nun kommt bei der ersten asterisk anlage
[Jan 16 18:14:39] WARNING[7774]: app_dial.c:1708 dial_exec_full: Had to drop call because I couldn't make CAPI/ISDN1#02/69*******-6 compatible with IAX2/91.***.***.***:4569-1
-- Hungup 'IAX2/91.***.***.***:4569-1'

was kann ich da gegen machen?
 
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.