Problem mit eingehenden CAPI Anrufen

doxon

Mitglied
Mitglied seit
11 Jun 2006
Beiträge
781
Punkte für Reaktionen
0
Punkte
0
Hallo,
ich habe meine Asterisk gestern abend erfoglreich aufgesetzt nur leider hat er Probleme bei eingehenden Anrufen.

Das Telefonieren klappt in alle richtungen prima, nur wenn ich per CAPI auf einen SIP Account anrufe bekomme ich nach ca. 13 Sekunden ein besetzt-Ton auf dem Telefon.

Hier ein Auszug aus dem Logfile:

Code:
  == ISDN1: Incoming call '17' -> '0'
    -- Executing Dial("CAPI/ISDN1/0-2", "Sip/30&SIP/31|30") in new stack
    -- Called 30
    -- Called 31
    -- SIP/30-82f0 is ringing
    -- SIP/31-ee07 is ringing
       > CAPI INFO 0x3490: Normal call clearing
  == Spawn extension (capi-in, 0, 1) exited non-zero on 'CAPI/ISDN1/0-2'
  == ISDN1: CAPI Hangingup

Versionen:
Asterisk: 1.2.9.1
chan_capi_cm: 0.6.5
Kernel: 2.6.12.2
Distri: Debian

Configs:
capi.conf
Code:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de      ;set default language
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

; interface sections ...

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
;ntmode=yes      ;if isdn card operates in nt mode, set this to yes
isdnmode=msn     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123  ;set a default caller id to that interface for dial-out,
                 ;this caller id will be used when dial option 'd' is set.
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
controller=1     ;capi controller number to use
group=1          ;dialout group
;prefix=0        ;set a prefix to calling number on incoming calls
softdtmf=off     ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed dtmf detection
accountcode=     ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
;holdtype=hold   ;when Asterisk puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and Asterisk may
                 ;play MOH.
;immediate=yes   ;DID: immediate start of pbx with extension 's' if no digits were
                 ;     received on incoming call (no destination number yet)
                 ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
                 ;     info like REDIRECTINGNUMBER may be lost, but this is necessary for
                 ;     drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
;echotail=64     ;echo cancel tail setting
;bridge=yes      ;native bridging (CAPI line interconnect) if available
;callgroup=1     ;Asterisk call group
;language=de     ;set language for this device (overwrites default language)
devices=2        ;number of concurrent calls on this controller
                      ;(2 makes sense for single BRI, 30 for PRI)

extensions.conf
Code:
[capi-in]
exten => _X,1,Dial,Sip/30&SIP/31|30
exten => _X,2,Hangup()

;exten => _X,1,Dial,Sip/30&SIP/31&CAPI/g1/18|30|r
;exten => _X,2,Goto,r-${DIALSTATUS}|1
;exten => r-BUSY,1,voicemail,b30
;exten => r-BUSY,2,Hangup()
;exten => r-NOANSWER,1,voicemail,u30
;exten => r-NOANSWER,2,Hangup()

Ich hoffe ihr könnt mir weiterhelfen.

Vielen Dank!
 
Mach doch bitte mal ein debug log von einem solchen Fall mit
set verbose 5
capi debug


Armin
 
armincm schrieb:
Mach doch bitte mal ein debug log von einem solchen Fall mit
set verbose 5
capi debug


Armin
Code:
set verbose 5
Verbosity is at least 5
*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=002 #0x8d07 LEN=0034
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>0
  CallingPartyNumber              = <40 80>18
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=0,CID=18,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='0' MSN
  == ISDN1: Incoming call '18' -> '0'
INFO_IND ID=002 #0x8d08 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <81>0

INFO_RESP ID=002 #0x8d08 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=002 #0x8d09 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

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

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

    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/0-c: 0 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/0-c
       > CAPI devicestate requested for ISDN1/0
    -- Executing Dial("CAPI/ISDN1/0-c", "Sip/30&SIP/31|30") in new stack
    -- Called 30
Jun 13 16:56:21 NOTICE[1836]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
    -- SIP/30-222f is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/0-c
ALERT_REQ ID=002 #0x077f LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

ALERT_CONF ID=002 #0x077f LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

INFO_IND ID=002 #0x8d0d LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

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

    -- ISDN1: info element CAUSE 80 90
DISCONNECT_IND ID=002 #0x8d0e LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3490

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

       > CAPI INFO 0x3490: Normal call clearing
  == Spawn extension (capi-in, 0, 1) exited non-zero on 'CAPI/ISDN1/0-c'
  == ISDN1: CAPI Hangingup
       > CAPI devicestate requested for ISDN1/0
  == ISDN1: Interface cleanup PLCI=0x101
       > CAPI devicestate requested for ISDN1/0

/EDIT:
Jun 13 16:56:21 NOTICE[1836]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)

Das wird wohl daran liegen dass das Phone 31 nicht an ist, aber auch wenns drin is ändert das nix
 
Also aus CAPI-Sicht ist hier kein Fehler. Der Anruf wird ganz normal:
CAPI INFO 0x3490: Normal call clearing
von der anrufenden Seite beendet. Entweder wurde aufgelegt, oder die Anlage hat hier ein Timeout...

Armin
 
Nur woran könnte das liegen?
Aufgelegt wurde nicht und am Telefon liegt es auch nicht da ich es mit mehreren getestet habe.
 
Ich denke die Anlage macht einen Timeout.

Armin
 
Versuch es erstmal nur mit einem SIP-Phone und setze die Zeit hoch...

[capi-in]
exten => _X,1,Dial,SIP/30|60

Was passiert dann?

mfg Guard-X
 
Guard-X schrieb:
Versuch es erstmal nur mit einem SIP-Phone und setze die Zeit hoch...

[capi-in]
exten => _X,1,Dial,SIP/30|60

Was passiert dann?

mfg Guard-X

In meinen Augen genau das gleiche.

Code:
set verbose 5
Verbosity is at least 5
*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=002 #0x8d3f LEN=0034
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>0
  CallingPartyNumber              = <40 80>18
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=0,CID=18,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='0' MSN
  == ISDN1: Incoming call '18' -> '0'
INFO_IND ID=002 #0x8d40 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <81>0

INFO_RESP ID=002 #0x8d40 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=002 #0x8d41 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

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

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

    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/0-1: 0 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/0-1
       > CAPI devicestate requested for ISDN1/0
    -- Executing Dial("CAPI/ISDN1/0-1", "Sip/30|60") in new stack
    -- Called 30
    -- SIP/30-1ad4 is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/0-1
ALERT_REQ ID=002 #0x0004 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

ALERT_CONF ID=002 #0x0004 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

INFO_IND ID=002 #0x8d45 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

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

    -- ISDN1: info element CAUSE 80 90
DISCONNECT_IND ID=002 #0x8d46 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3490

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

       > CAPI INFO 0x3490: Normal call clearing
  == Spawn extension (capi-in, 0, 1) exited non-zero on 'CAPI/ISDN1/0-1'
  == ISDN1: CAPI Hangingup
  == ISDN1: Interface cleanup PLCI=0x101
       > CAPI devicestate requested for ISDN1/0
       > CAPI devicestate requested for ISDN1/0
 
Wenn das Gespräch angenommen wird passiert das nicht?
 
Guard-X schrieb:
Wenn das Gespräch angenommen wird passiert das nicht?

Nein dann kann ich ohne Probleme Telefonieren (habs mal getest, nach 6 sec abgenommen, dann 30 sec telefoniert)

Code:
CONNECT_IND ID=002 #0x8fcc LEN=0034
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>0
  CallingPartyNumber              = <40 80>18
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=0,CID=18,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='0' MSN
  == ISDN1: Incoming call '18' -> '0'
INFO_IND ID=002 #0x8fcd LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <81>0

INFO_RESP ID=002 #0x8fcd 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=002 #0x8fce LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

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

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

    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/0-3: 0 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/0-3
       > CAPI devicestate requested for ISDN1/0
    -- Executing Dial("CAPI/ISDN1/0-3", "Sip/30|60") in new stack
    -- Called 30
    -- SIP/30-eddf is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/0-3
ALERT_REQ ID=002 #0x0280 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

ALERT_CONF ID=002 #0x0280 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

    -- SIP/30-eddf answered CAPI/ISDN1/0-3
  == ISDN1: Requested Indication-STOP for CAPI/ISDN1/0-3
  == ISDN1: Answering for 0
CONNECT_RESP ID=002 #0x8fcc LEN=0035
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
  ConnectedNumber                 = <00 80>0
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

       > CAPI devicestate requested for ISDN1/0
CONNECT_ACTIVE_IND ID=002 #0x8fd2 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

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

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

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

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

CONNECT_B3_ACTIVE_RESP ID=002 #0x8fd4 LEN=0012
  Controller/PLCI/NCCI            = 0x10101

       > ISDN1: too much voice to send for NCCI=0x10101
       > ISDN1: too much voice to send for NCCI=0x10101
INFO_IND ID=002 #0x968f LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8045
  InfoElement                     = default

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

    -- ISDN1: info element DISCONNECT
    -- ISDN1: Disconnect case 3
INFO_IND ID=002 #0x9690 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <81 88>

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

    -- ISDN1: info element PI 81 88
       > ISDN1: In-band information available
INFO_IND ID=002 #0x9691 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <81 9f>

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

    -- ISDN1: info element CAUSE 81 9f
  == Spawn extension (capi-in, 0, 1) exited non-zero on 'CAPI/ISDN1/0-3'
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=31)
DISCONNECT_B3_REQ ID=002 #0x093c LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

DISCONNECT_B3_CONF ID=002 #0x093c LEN=0014
  Controller/PLCI/NCCI            = 0x10101
  Info                            = 0x0

       > CAPI devicestate requested for ISDN1/0
       > CAPI devicestate requested for ISDN1/0
DISCONNECT_B3_IND ID=002 #0x9692 LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reason_B3                       = 0x3301
  NCPI                            = default

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

DISCONNECT_REQ ID=002 #0x093d LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

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

DISCONNECT_IND ID=002 #0x9693 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x349f

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

       > CAPI INFO 0x349f: Normal, unspecified
  == ISDN1: Interface cleanup PLCI=0x101
 
da:
Code:
sip debug peer 30
SIP Debugging Enabled for IP: 192.168.0.10:18844
CONNECT_IND ID=002 #0x9694 LEN=0034
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>0
  CallingPartyNumber              = <40 80>18
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=0,CID=18,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='0' MSN
  == ISDN1: Incoming call '18' -> '0'
INFO_IND ID=002 #0x9695 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <81>0

INFO_RESP ID=002 #0x9695 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=002 #0x9696 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

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

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

    -- ISDN1: info element Sending Complete
    -- ISDN1: CAPI/ISDN1/0-4: 0 matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/0-4
       > CAPI devicestate requested for ISDN1/0
    -- Executing Dial("CAPI/ISDN1/0-4", "Sip/30|60") in new stack
We're at 192.168.0.2 port 17886
Adding codec 0x8 (alaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
13 headers, 12 lines
Reliably Transmitting (no NAT) to 192.168.0.10:18844:
INVITE sip:[email protected]:18844;rinstance=91d099beb3150967 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK59c40743;rport
From: "18" <sip:[email protected]>;tag=as7779064d
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 14 Jun 2006 17:20:20 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 259

v=0
o=root 5867 5867 IN IP4 192.168.0.2
s=session
c=IN IP4 192.168.0.2
t=0 0
m=audio 17886 RTP/AVP 8 3 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -

---
    -- Called 30

<-- SIP read from 192.168.0.10:18844:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK59c40743;rport=5060
Contact: <sip:[email protected]:18844;rinstance=91d099beb3150967>
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>;tag=6f5bf760
From: "18"<sip:[email protected]>;tag=as7779064d
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0


--- (9 headers 0 lines)---
    -- SIP/30-72b5 is ringing
  == ISDN1: Requested RINGING-Indication for CAPI/ISDN1/0-4
ALERT_REQ ID=002 #0x093e LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

ALERT_CONF ID=002 #0x093e LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

12 headers, 3 lines
Reliably Transmitting (no NAT) to 192.168.0.10:18844:
NOTIFY sip:[email protected]:18844;rinstance=91d099beb3150967 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK44445138;rport
From: "asterisk" <sip:[email protected]>;tag=as46d78c3b
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Max-Forwards: 70
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 91

Messages-Waiting: no
Message-Account: sip:[email protected]
Voice-Message: 0/0 (0/0)

---
Scheduling destruction of call '[email protected]' in 15000 ms

<-- SIP read from 192.168.0.10:18844:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK44445138;rport=5060
Contact: <sip:192.168.0.10:18844>
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>;tag=6574dc27
From: "asterisk"<sip:[email protected]>;tag=as46d78c3b
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0


--- (9 headers 0 lines)---
Destroying call '[email protected]'
Destroying call 'd556c375b23a9f42MzI2ZWRhNmIxOTUyZjE3YWVhMjc1ZjQ5NmE5OGU4MmY.'
INFO_IND ID=002 #0x969a LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

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

    -- ISDN1: info element CAUSE 80 90
DISCONNECT_IND ID=002 #0x969b LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3490

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

       > CAPI INFO 0x3490: Normal call clearing
Reliably Transmitting (no NAT) to 192.168.0.10:18844:
CANCEL sip:[email protected]:18844;rinstance=91d099beb3150967 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK59c40743;rport
From: "18" <sip:[email protected]>;tag=as7779064d
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 CANCEL
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Scheduling destruction of call '[email protected]' in 32000 ms
  == Spawn extension (capi-in, 0, 1) exited non-zero on 'CAPI/ISDN1/0-4'
  == ISDN1: CAPI Hangingup
  == ISDN1: Interface cleanup PLCI=0x101
       > CAPI devicestate requested for ISDN1/0
       > CAPI devicestate requested for ISDN1/0

<-- SIP read from 192.168.0.10:18844:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK59c40743;rport=5060
Contact: <sip:[email protected]:18844;rinstance=91d099beb3150967>
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>;tag=6f5bf760
From: "18"<sip:[email protected]>;tag=as7779064d
Call-ID: [email protected]
CSeq: 102 CANCEL
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0


--- (9 headers 0 lines)---

<-- SIP read from 192.168.0.10:18844:
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK59c40743;rport=5060
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>;tag=6f5bf760
From: "18"<sip:[email protected]>;tag=as7779064d
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: X-Lite release 1002tx stamp 29712
Content-Length: 0


--- (8 headers 0 lines)---
Transmitting (no NAT) to 192.168.0.10:18844:
ACK sip:[email protected]:18844;rinstance=91d099beb3150967 SIP/2.0
Via: SIP/2.0/UDP 192.168.0.2:5060;branch=z9hG4bK59c40743;rport
From: "18" <sip:[email protected]>;tag=as7779064d
To: <sip:[email protected]:18844;rinstance=91d099beb3150967>;tag=6f5bf760
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
Destroying call '[email protected]'

<-- SIP read from 192.168.0.10:18844:



--- (0 headers 1 lines)---

:D
 
Genau. Es kommt auf jeden Fall von der Anlage (oder was vor der Anlage haengt).
Es hat nichts mit SIP zu tun, das kann man deutlich daran sehen, dass ueber ISDN einfach ein DISCONNECT_IND kommt. D.h. die Anlage beendet die Verbindung, warum auch immer.

Armin
 
Was ist denn das für eine TK-Anlage, an welchem Port-Typ hängt Dein Asterisk, und wie ist der Port des TK-Systems konfiguriert?
 
foschi schrieb:
Was ist denn das für eine TK-Anlage, an welchem Port-Typ hängt Dein Asterisk, und wie ist der Port des TK-Systems konfiguriert?

Das ist eine Varix 200.
Port kann ich im moment nicht nachvollziehen (Ich könnte heut abend evtl. gucken an was für eine Karte der *-Server angeschlossen ist falls das hilft), und wie dieser Port konfiguriert wird kann ich nicht nachvollziehen, da ich nicht weiß welches Kabel (Pin-Belegung) ich für die Verbindung PC <--> Varix benutzen muss. Software ist aber Vorhanden. Falls mir dann noch jemand sagt wo man das nachguckt is das auch schnell gemacht.
 
doxon schrieb:
Das ist eine Varix 200.
Port kann ich im moment nicht nachvollziehen (Ich könnte heut abend evtl. gucken an was für eine Karte der *-Server angeschlossen ist falls das hilft), und wie dieser Port konfiguriert wird kann ich nicht nachvollziehen, da ich nicht weiß welches Kabel (Pin-Belegung) ich für die Verbindung PC <--> Varix benutzen muss. Software ist aber Vorhanden. Falls mir dann noch jemand sagt wo man das nachguckt is das auch schnell gemacht.

Dinge zur DeTeWe varix 14/200 findest Du unter http://www.varix-forum.de. Kabelbelegung lt. http://www.varix-forum.de/viewtopic.php?t=32

Experten-SPC, TOD B80, Rufnummer des Ports eingeben.
 
Schön, das ist ein ISDN-Teilnehmer ohne Endgeräte-Auswahl-Ziffer (EAZ), die Bezeichnung kommt aus der Zeit als es ISDN nur als 1TR6 gab... Scheint der richtige Anschluß zu sein. Lies doch mal aus, welche Leistungsmerkmale für diesen Teilnehmer in der varix aktiviert sind (am komfortabelsten mit dem Komfort-SPC).

Laß mich nochmal fragen ob ich Dein Setting richtig verstehe: Du rufst von einem Systemtelefon der varix 200 einen SIP-Teilnehmer am Asterisk an? Asterisk mit ner Fritz!Card an dem S0-Port der varix 200? Sonst nichts mehr dazwischen, an dem S0-Teilnehmer hängt nur Dein Asterisk?
 
foschi schrieb:
Lies doch mal aus, welche Leistungsmerkmale für diesen Teilnehmer in der varix aktiviert sind (am komfortabelsten mit dem Komfort-SPC).

foschi schrieb:
Laß mich nochmal fragen ob ich Dein Setting richtig verstehe: Du rufst von einem Systemtelefon der varix 200 einen SIP-Teilnehmer am Asterisk an? Asterisk mit ner Fritz!Card an dem S0-Port der varix 200? Sonst nichts mehr dazwischen, an dem S0-Teilnehmer hängt nur Dein Asterisk?
[/QUOTE]
Wenn man dieses ISDNoEAZ mit S0 gleichstellen kann, ja. Ob da noch ein weiteres Gerät dranhängt kann ich im moment nicht sagen.. ich guck gleich noch mal am Patchfeld ob da noch was anderes Parallel aufgeklemmt ist.
Aber ein weiterer PC oder weiteres ISDN gerät kann es nicht sein. Denn da habe ich das einzigste hier.
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,839
Beiträge
2,219,264
Mitglieder
371,543
Neuestes Mitglied
Brainbanger
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.