[chan-capi-users] CAPI Problem - Call rejected

Hauke Müller hauke at mueller-martens.de
Mon May 5 21:15:31 CEST 2008


Hello Armin et all,

today our Trixbox system (fresh setup, 1 week old) stopped to dial out  
(call rejected). Inbound calls are working though.
I'm not sure whether it's the line, capi or the card. But as inbound  
calling is working, I assume it's not the line and probably not the  
card.

Any help is appreciated.


I tried the line with capifax:
Disconnected.
   Reason            : 3495 Call rejected
   Reason-B3         : 0000 No additional information

It's an AVM C4 card, here's the capiinfo for the first controller:

Number of Controllers : 4
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-06  (49.22)
Serial Number: 0900841
BChannels: 2
Global Options: 0x00000039
    internal controller supported
    DTMF supported
    Supplementary Services supported
    channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
    64 kbit/s with HDLC framing
    64 kbit/s bit-transparent operation
    V.110 asynconous operation with start/stop byte framing
    V.110 synconous operation with HDLC framing
    T.30 modem for fax group 3
    Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
    ISO 7776 (X.75 SLP)
    Transparent
    LAPD with Q.921 for D channel X.25 (SAPI 16)
    T.30 for fax group 3
    ISO 7776 (X.75 SLP) with V.42bis compression
    V.120 asyncronous mode
    V.120 bit-transparent mode
B3 protocols support: 0x800000bf
    Transparent
    T.90NL, T.70NL, T.90
    ISO 8208 (X.25 DTE-DTE)
    X.25 DCE
    T.30 for fax group 3
    T.30 for fax group 3 with extensions
    Modem

   0100
   0200
   39000000
   1f010040
   1b0b0000
   bf000080
   00000000 00000000 00000000 00000000 00000000 00000000
   01000001 00010000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
    Hold / Retrieve
    Terminal Portability
    ECT
    3PTY
    Call Forwarding
    Call Deflection
    MCID
    CCBS


This is a call with Asterisk and capi debug turned on:

    -- Executing [s at macro-dial:7] Dial("CAPI/ISDN3#02/18911742-c",  
"CAPI/g1/01794666830|15|tr") in new stack
        > data = g1/01794666830 format=8
        > parsed dialstring: 'g1' 'NULL' '01794666830' ''
        > capi request group = 2
   == ISDN4#02: setting format alaw - 0x8 (alaw)
        > parsed dialstring: 'g1' 'NULL' '01794666830' ''
        > capi: peerlink -1 allocated, peer is unlinked
   == ISDN4#02: Call CAPI/ISDN4#02/01794666830-d   (pres=0x03, ton=0x21)
CONNECT_REQ                ID=002 #0x03fc LEN=0067
   Controller/PLCI/NCCI            = 0x4
   CIPValue                        = 0x4
   CalledPartyNumber               = <80>01794666830
   CallingPartyNumber              = <21 83>08995928628
   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 g1/01794666830
   == ISDN3#02: Requested RINGING-Indication for CAPI/ 
ISDN3#02/18911742-c
ALERT_REQ                  ID=002 #0x03fd LEN=0018
   Controller/PLCI/NCCI            = 0x103
   AdditionalInfo
    BChannelinformation            = default
    Keypadfacility                 = default
    Useruserdata                   = default
    Facilitydataarray              = default
    SendingComplete                = default

CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x81 MsgNum=0x03fc  
NCCI=0x00000204
CONNECT_CONF               ID=002 #0x03fc LEN=0014
   Controller/PLCI/NCCI            = 0x204
   Info                            = 0x0

     -- ISDN4#02: received CONNECT_CONF PLCI = 0x204
CAPI: ApplId=0x0002 Command=0x01 SubCommand=0x81 MsgNum=0x03fd  
NCCI=0x00000103
ALERT_CONF                 ID=002 #0x03fd LEN=0014
   Controller/PLCI/NCCI            = 0x103
   Info                            = 0x0

        > chan_capi devicestate requested for ISDN4#02/01794666830-d  
is 'In use'
        > chan_capi devicestate requested for ISDN4#02/01794666830 is  
'In use'
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0xca99  
NCCI=0x00000204
INFO_IND                   ID=002 #0xca99 LEN=0015
   Controller/PLCI/NCCI            = 0x204
   InfoNumber                      = 0x8002
   InfoElement                     = default

INFO_RESP                  ID=002 #0xca99 LEN=0012
   Controller/PLCI/NCCI            = 0x204

     -- ISDN4#02: info element CALL PROCEEDING
     -- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown  
control '15' (15) ] [ISDN4#02]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0xca9a  
NCCI=0x00000204
INFO_IND                   ID=002 #0xca9a LEN=0016
   Controller/PLCI/NCCI            = 0x204
   InfoNumber                      = 0x18
   InfoElement                     = <89>

INFO_RESP                  ID=002 #0xca9a LEN=0012
   Controller/PLCI/NCCI            = 0x204

     -- ISDN4#02: info element CHANNEL IDENTIFICATION 89
     -- CAPI/ISDN4#02/01794666830-d is proceeding passing it to CAPI/ 
ISDN3#02/18911742-c
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0xca9b  
NCCI=0x00000204
INFO_IND                   ID=002 #0xca9b LEN=0015
   Controller/PLCI/NCCI            = 0x204
   InfoNumber                      = 0x8045
   InfoElement                     = default

INFO_RESP                  ID=002 #0xca9b LEN=0012
   Controller/PLCI/NCCI            = 0x204

     -- ISDN4#02: info element DISCONNECT
     -- ISDN4#02: Disconnect case 1
     -- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Busy  
(5) ] [ISDN4#02]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0xca9c  
NCCI=0x00000204
INFO_IND                   ID=002 #0xca9c LEN=0017
   Controller/PLCI/NCCI            = 0x204
   InfoNumber                      = 0x1e
   InfoElement                     = <82 88>

INFO_RESP                  ID=002 #0xca9c LEN=0012
   Controller/PLCI/NCCI            = 0x204

     -- ISDN4#02: info element PI 82 88
        > ISDN4#02: In-band information available
     -- CAPI/ISDN4#02/01794666830-d is busy
     -- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown  
control '14' (14) ] [ISDN4#02]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0xca9d  
NCCI=0x00000204
INFO_IND                   ID=002 #0xca9d LEN=0017
   Controller/PLCI/NCCI            = 0x204
   InfoNumber                      = 0x8
   InfoElement                     = <82 95>

INFO_RESP                  ID=002 #0xca9d LEN=0012
   Controller/PLCI/NCCI            = 0x204

     -- ISDN4#02: info element CAUSE 82 95
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0xca9e  
NCCI=0x00000204
INFO_IND                   ID=002 #0xca9e LEN=0030
   Controller/PLCI/NCCI            = 0x204
   InfoNumber                      = 0x1c
   InfoElement                     = <91 a1 0c 02 02 a0>E<06 06 04 00  
87>i<01 07>

INFO_RESP                  ID=002 #0xca9e LEN=0012
   Controller/PLCI/NCCI            = 0x204

     -- ISDN4#02: info element FACILITY
   == ISDN4#02: CAPI Hangingup for PLCI=0x204 in state 5
     -- ISDN4#02: activehangingup (cause=21) for PLCI=0x204
DISCONNECT_REQ             ID=002 #0x03fe LEN=0013
   Controller/PLCI/NCCI            = 0x204
   AdditionalInfo                  = default

ISDN4#02: wait for DISCONNECT_CONF (0x481)
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x03fe  
NCCI=0x00000204
DISCONNECT_CONF            ID=002 #0x03fe LEN=0014
   Controller/PLCI/NCCI            = 0x204
   Info                            = 0x0

ISDN4#02: found and signal for DISCONNECT_CONF
ISDN4#02: cond signal received for DISCONNECT_CONF
   == Everyone is busy/congested at this time (1:1/0/0)


Regards,
hauke




More information about the Chan-capi-users mailing list