Kein Besetzzeichen bei internen Gesprächen

cervi

Neuer User
Mitglied seit
12 Apr 2006
Beiträge
30
Punkte für Reaktionen
0
Punkte
0
Ich bin mit Asterisk über einen S0 an einer Hicom 300 angeschlossen.
Asterisk: 1.2.1 mit chan_capi-cm-0.6.5

a) Wähle ich eine externe (besetzte) Nummer, dann bekomme ich das von Asterisk auch ordnungsgemäss angezeigt.

b) Wähle ich eine interne Nebenstelle, dann höre ich bei einer besetzten Nummer garnix.

Liegts am chan_capi oder an der Hicom?

Mit "capi debug" bekomme ich bei Fall a)

Code:
    -- Executing Answer("SIP/patrick-snom-8f8b", "") in new stack
    -- Executing Dial("SIP/patrick-snom-8f8b", "local/0550211822@local-dial") in new stack
    -- Executing SetAMAFlags("Local/0550211822@local-dial-078c,2", "billing") in new stack
    -- Executing Dial("Local/0550211822@local-dial-078c,2", "CAPI/ISDN1/4131:0550211822") in new stack
       > data = ISDN1/4131:0550211822
       > parsed dialstring: 'ISDN1' '4131' '0550211822' ''
       > capi request for interface 'ISDN1'
       > parsed dialstring: 'ISDN1' '4131' '0550211822' ''
  == ISDN1: Call CAPI/ISDN1/0550211822-51   (pres=0x00, ton=0x00)
CONNECT_REQ ID=001 #0x78fd LEN=0055
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x1
  CalledPartyNumber               = <80>0550211822
  CallingPartyNumber              = <00 80>4131
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
  BC                              = default
  LLC                             = default
  HLC                             = default
  AdditionalInfo
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

    -- Called ISDN1/4131:0550211822
    -- Called 0550211822@local-dial
       > CAPI devicestate requested for ISDN1/0550211822
       > CAPI devicestate requested for ISDN1/0550211822

CONNECT_CONF ID=001 #0x78fd LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

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

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

    -- ISDN1: info element SETUP ACK
INFO_IND ID=001 #0x7c64 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

    -- ISDN1: info element CHANNEL IDENTIFICATION 89

INFO_IND ID=001 #0x7c65 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8002
  InfoElement                     = default

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

    -- ISDN1: info element CALL PROCEEDING
    -- CAPI/ISDN1/0550211822-51 is proceeding passing it to Local/0550211822@local-dial-078c,2
    -- Local/0550211822@local-dial-078c,1 is proceeding passing it to SIP/patrick-snom-8f8b
INFO_IND ID=001 #0x7c66 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

    -- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x7c67 LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8045
  InfoElement                     = default

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

    -- ISDN1: info element DISCONNECT
    -- ISDN1: Disconnect case 1
    -- CAPI/ISDN1/0550211822-51 is busy
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=0)
DISCONNECT_REQ ID=001 #0x78fe LEN=0017
  Controller/PLCI/NCCI            = 0x101
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing PlayTones("Local/0550211822@local-dial-078c,2", "Congestion") in new stack
    -- Executing Wait("Local/0550211822@local-dial-078c,2", "2") in new stack
       > CAPI devicestate requested for ISDN1/0550211822
       > CAPI devicestate requested for ISDN1/0550211822
INFO_IND ID=001 #0x7c68 LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <80 88>

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

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


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

    -- ISDN1: info element CAUSE 80 91
DISCONNECT_CONF ID=001 #0x78fe LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

DISCONNECT_IND ID=001 #0x7c6a LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3491

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

       > CAPI INFO 0x3491: User busy
  == ISDN1: Interface cleanup PLCI=0x101
    -- Executing Hangup("Local/0550211822@local-dial-078c,2", "") in new stack
  == Spawn extension (local-dial, 0550211822, 5) exited non-zero on 'Local/0550211822@local-dial-078c,2'
  == No one is available to answer at this time (1:0/0/0)
    -- Executing Hangup("SIP/patrick-snom-8f8b", "") in new stack
  == Spawn extension (snomwom, 0550211822, 3) exited non-zero on 'SIP/patrick-snom-8f8b'

Im Fall b)

Code:
 -- Executing Answer("SIP/patrick-snom-7129", "") in new stack
    -- Executing Dial("SIP/patrick-snom-7129", "local/4120@local-dial") in new stack
    -- Executing SetAMAFlags("Local/4120@local-dial-0812,2", "billing") in new stack
    -- Executing Dial("Local/4120@local-dial-0812,2", "CAPI/ISDN1/4131:4120") in new stack
       > data = ISDN1/4131:4120
       > parsed dialstring: 'ISDN1' '4131' '4120' ''
       > capi request for interface 'ISDN1'
       > parsed dialstring: 'ISDN1' '4131' '4120' ''
  == ISDN1: Call CAPI/ISDN1/4120-52   (pres=0x00, ton=0x00)
CONNECT_REQ ID=001 #0x78ff LEN=0049
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x1
  CalledPartyNumber               = <80>4120
  CallingPartyNumber              = <00 80>4131
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
  BC                              = default
  LLC                             = default
  HLC                             = default
  AdditionalInfo
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

 -- Called ISDN1/4131:4120
    -- Called 4120@local-dial
       > CAPI devicestate requested for ISDN1/4120
       > CAPI devicestate requested for ISDN1/4120
CONNECT_CONF ID=001 #0x78ff LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

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

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

    -- ISDN1: info element CALL PROCEEDING
    -- CAPI/ISDN1/4120-52 is proceeding passing it to Local/4120@local-dial-0812,2
    -- Local/4120@local-dial-0812,1 is proceeding passing it to SIP/patrick-snom-7129
INFO_IND ID=001 #0x7c6c LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

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

    -- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x7c6d LEN=0015
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x8003
  InfoElement                     = default

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

  -- ISDN1: info element PROGRESS
    -- CAPI/ISDN1/4120-52 is making progress passing it to Local/4120@local-dial-0812,2
    -- Local/4120@local-dial-0812,1 is making progress passing it to SIP/patrick-snom-7129
INFO_IND ID=001 #0x7c6e LEN=0017
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x1e
  InfoElement                     = <80 88>

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

    -- ISDN1: info element PI 80 88
       > ISDN1: In-band information available

-- (hier bleibts einfach stehen, solang bis ich selber Auflege)
 
Das liegt an der Anlage. In dem Log ist zu erkennen, dass im Fall b) kein
DISCONNECT von der Anlage kommt. Die Anlage scheint zu warten und dir einfach nur den Besetzt-Ton geben zu wollen. Dies hoerst Du aber nicht, weil
du kein early-B3 (Option /b oder /B) aktiviert hast.

Armin
 
Danke, mit /b tuts.
 
Kostenlos!

Statistik des Forums

Themen
248,859
Beiträge
2,303,047
Mitglieder
378,510
Neuestes Mitglied
Muehle79