Asterisk mit chan_capi an Hipath 3000 S0 Bus

mikel_ann

Neuer User
Mitglied seit
20 Nov 2007
Beiträge
4
Punkte für Reaktionen
0
Punkte
0
Hallo, ich habe Asterisk mit einer Fritz!PCI am S0 Bus

Mit 911 oder 912 rufe ich die Nebenstelle 11 bzw. 12 der Hipath
-> kein Problem

Mit 911 rufe ich die Nebenstelle 11 und mit Transfer 912 die 12

-> 11 und 12 sind verbunden auch kein Problem

Nun das Problem:

11 ruft 23 (am Bus) -> das ist SIP 962211
Dann wähle ich einen Transfer mit 912 ----> und bekomme einen Abruch

Capi debug anbei

HTML:
CONNECT_IND ID=002 #0x58fb LEN=0035
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>23
  CallingPartyNumber              = <00 83>11
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=23,CID=11,CIP=0x10,CONTROLLER=0x1)
       > ISDN1#02: msn='23' DNID='23' MSN
  == ISDN1#02: setting format alaw - 0x8 (alaw)
  == ISDN1#02: Incoming call '11' -> '23'
INFO_IND ID=002 #0x58fc LEN=0018
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <81>23

INFO_RESP ID=002 #0x58fc 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 #0x58fd LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

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

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

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

    -- ISDN1#02: info element Sending Complete
  == Started pbx on channel CAPI/ISDN1#02/23-8
    -- Executing [23@capi-in:1] Goto("CAPI/ISDN1#02/23-8", "default|962211|1") in new stack
    -- Goto (default,962211,1)
    -- Executing [962211@default:1] Macro("CAPI/ISDN1#02/23-8", "stdexten|962211|SIP/962211&IAX2/962211") in new stack
    -- Executing [s@macro-stdexten:1] Dial("CAPI/ISDN1#02/23-8", "SIP/962211&IAX2/962211|20") in new stack
    -- Called 962211
[Nov 20 22:44:46] WARNING[7272]: app_dial.c:1111 dial_exec_full: Unable to create channel of type 'IAX2' (cause 3 - No route to destination)
       > CAPI devicestate requested for ISDN1#02/23 is 'Ringing'
    -- SIP/962211-08211860 is ringing
  == ISDN1#02: Requested RINGING-Indication for CAPI/ISDN1#02/23-8
ALERT_REQ ID=002 #0x0a46 LEN=0018
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

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

    -- SIP/962211-08211860 answered CAPI/ISDN1#02/23-8
  == ISDN1#02: Requested Indication-STOP for CAPI/ISDN1#02/23-8
  == ISDN1#02: Answering for 23
CONNECT_RESP ID=002 #0x58fb LEN=0038
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = <01 80>23
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

       > CAPI devicestate requested for ISDN1#02/23 is 'In use'
INFO_IND ID=002 #0x58ff LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

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

    -- ISDN1#02: info element CHANNEL IDENTIFICATION 8a
CONNECT_ACTIVE_IND ID=002 #0x5900 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
CTRWSL1*CLI>
CONNECT_ACTIVE_RESP ID=002 #0x5900 LEN=0012
  Controller/PLCI/NCCI            = 0x101

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

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

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

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

  == ISDN1#02: Requested HOLD-Indication for CAPI/ISDN1#02/23-8
    -- Started music on hold, class 'default', on CAPI/ISDN1#02/23-8
    -- Stopped music on hold on CAPI/ISDN1#02/23-8
  == Spawn extension (numberplan-custom-1, 912, 0) exited non-zero on 'CAPI/ISDN1#02/23-8' in macro 'stdexten'
  == Spawn extension (numberplan-custom-1, 912, 0) exited non-zero on 'CAPI/ISDN1#02/23-8'
    -- Executing [912@numberplan-custom-1:1] Dial("CAPI/ISDN1#02/23-8", "CAPI/contr1/12|30|r") in new stack
       > data = contr1/12 format=8
       > parsed dialstring: 'contr1' 'NULL' '12' ''
       > capi request controller = 1
  == ISDN1#01: setting format alaw - 0x8 (alaw)
       > parsed dialstring: 'contr1' 'NULL' '12' ''
       > capi: peerlink -1 allocated, peer is unlinked
  == ISDN1#01: Call CAPI/ISDN1#01/12-9   (pres=0x03, ton=0x00)
CONNECT_REQ ID=002 #0x0af9 LEN=0049
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x1
  CalledPartyNumber               = <80>12
  CallingPartyNumber              = <00 83>11
  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                = <01 00>

    -- Called contr1/12
  == ISDN1#02: Requested RINGING-Indication for CAPI/ISDN1#02/23-8
    -- ISDN1#02: attempting ALERT in state 2
CONNECT_CONF ID=002 #0x0af9 LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Info                            = 0x0

    -- ISDN1#01: received CONNECT_CONF PLCI = 0x201
       > CAPI devicestate requested for ISDN1#01/12 is 'In use'
INFO_IND ID=002 #0x59c1 LEN=0017
  Controller/PLCI/NCCI            = 0x201
  InfoNumber                      = 0x8
  InfoElement                     = <81 bf>

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

    -- ISDN1#01: info element CAUSE 81 bf
DISCONNECT_IND ID=002 #0x59c2 LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Reason                          = 0x34bf

DISCONNECT_RESP ID=002 #0x59c2 LEN=0012
  Controller/PLCI/NCCI            = 0x201

       > ISDN1#01: CAPI INFO 0x34bf: Service or option not available, unspecified
    -- CAPI queue frame:[ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#01]
  == ISDN1#01: CAPI Hangingup for PLCI=0xdead0000 in state 4
  == ISDN1#01: Interface cleanup PLCI=0xdead0000
[Nov 20 22:44:53] NOTICE[7272]: cdr.c:434 ast_cdr_free: CDR on channel 'CAPI/ISDN1#01/12-9' not posted
  == Everyone is busy/congested at this time (1:0/0/1)
  == ISDN1#02: Requested Indication-STOP for CAPI/ISDN1#02/23-8
  == Auto fallthrough, channel 'CAPI/ISDN1#02/23-8' status is 'CHANUNAVAIL'
  == ISDN1#02: Requested CONGESTION-Indication for CAPI/ISDN1#02/23-8
       > CAPI devicestate requested for ISDN1#01/12 is 'Not in use'
       > CAPI devicestate requested for ISDN1#01/12 is 'Not in use'
INFO_IND ID=002 #0x5a4a LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8045
  InfoElement                     = default

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

    -- ISDN1#02: info element DISCONNECT
    -- ISDN1#02: Disconnect case 3
    -- CAPI queue frame:[ TYPE: Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
INFO_IND ID=002 #0x5a4b LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <85 88>

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

    -- ISDN1#02: info element PI 85 88
       > ISDN1#02: In-band information available
       > ISDN1#02: no queue_frame in state disconnecting for 4/14
INFO_IND ID=002 #0x5a4c LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

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

    -- ISDN1#02: info element CAUSE 80 90
INFO_IND ID=002 #0x5a4d LEN=0037
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a1 13 02 02 03 da 02 01 22>0<0a a1 05>0<03 02 01 00 82 01 01>

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

    -- ISDN1#02: info element FACILITY
  == ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 2
    -- ISDN1#02: activehangingup (cause=16) for PLCI=0x101
DISCONNECT_B3_REQ ID=002 #0x0b84 LEN=0013
  Controller/PLCI/NCCI            = 0x10101
  NCPI                            = default

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

       > CAPI devicestate requested for ISDN1#02/23 is 'Not in use'
       > CAPI devicestate requested for ISDN1#02/23 is 'Not in use'
DISCONNECT_B3_IND ID=002 #0x5a4e LEN=0015
  Controller/PLCI/NCCI            = 0x10101
  Reason_B3                       = 0x3301
  NCPI                            = default

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

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

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

DISCONNECT_IND ID=002 #0x5a4f LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3490

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

       > ISDN1#02: CAPI INFO 0x3490: Normal call clearing
 
Die Meldung
> ISDN1#01: CAPI INFO 0x34bf: Service or option not available, unspecified
kommt vom ISDN, also von der Anlage. Die mag wohl nicht, was du machen willlst.

Armin
 
Ist auch kein Wunder, wenn versucht wird, mit einer MSN rauszuwählen, die nicht auf dem Bus liegt -> beim Transfer abgehende MSN setzen.

Mario
 
Hi Mario, wo bitte soll ich die setzen ?

Habe das Szenario eben mal mit einem ISDN Telefon am Bus
nachgestellt. Da klappt vermitteln auch nicht.

Ich befürchte die Hipath 3000 V4 kann das nicht.
Mal schauen ob das bekannt ist und es da eine neuere
Firmware gibt.
 
chan-capi README:
Code:
Dial(CAPI/contrX/MSN:ZIEL,,)

Das du mit einem ISDN Tel nicht verbinden kannst, mag vielleicht an der fehlenden/falschen Einstellung liegen, oder das die Hipath das LM nicht beherrscht (glaub' ich aber weniger).

Trotzdem sollte es aber mit der Hicom soweit gehen, dass das über Bridging funktioniert.

Mario
 
Hi m.goegel,

Du hattest recht, klappt so !!

:groesste:



Bin noch Anfänger mit dem Ast und hechle mich immer wieder
durch die ganzen Befehle. Seit gestern abend läuft auch Fax
und sendet e-Mails. Ist eine super Sache, nur wenn Du dich
nicht mit Linux auskennst ist das alles schon elend
Müüüüüühhhhhhsam.

Bis denne und nochmals vielen Dank.
 
Kostenlos!

Statistik des Forums

Themen
248,849
Beiträge
2,302,830
Mitglieder
378,498
Neuestes Mitglied
Gerdemha