[chan-capi-users] AVM C4 won't deflect / reroute

Sebastian Pape sebastianderpape at gmail.com
Tue Sep 29 12:20:37 CEST 2009


Hi,
I'm having a problem with the AVM C4 card connected to a T-Systems PtP line.

When trying to deflect/reroute with this command...

exten => 12926554,1,capicommand(deflect|273400)

...it won't reroute the call, although Partial Rerouting is allowed on
our line (asked two different people at T-Systems service desk). This
is the output from the asterisk console. Does that have anything to do
with the "immediate" option, maybe?

--------------
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x82 MsgNum=0x0b01 NCCI=0x00000103
CONNECT_IND                ID=002 #0x0b01 LEN=0049
  Controller/PLCI/NCCI            = 0x103
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>12926554
  CallingPartyNumber              = <21 83>1785709166
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND
(PLCI=0x103,DID=12926554,CID=1785XXXX66,CIP=0x10,CONTROLLER=0x3)
       > ISDN2#02: msn='*' DNID='12926554' DID
  == ISDN2#02: setting format alaw - 0x8 (alaw)
  == ISDN2#02: Incoming call '01785XXXX66' -> '12926554'
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0b02 NCCI=0x00000103
INFO_IND                   ID=002 #0x0b02 LEN=0024
  Controller/PLCI/NCCI            = 0x103
  InfoNumber                      = 0x70
  InfoElement                     = <c1>12926554

INFO_RESP                  ID=002 #0x0b02 LEN=0012
  Controller/PLCI/NCCI            = 0x103

    -- ISDN2#02: info element CALLED PARTY NUMBER
    -- ISDN2#02: Updated channel name: CAPI/ISDN2#02/12926554-5
    -- ISDN2#02: CAPI/ISDN2#02/12926554-5: 12926554 matches in context extern
       > chan_capi devicestate requested for ISDN2#02/12926554 is 'Ringing'
  == Started pbx on channel CAPI/ISDN2#02/12926554-5
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0b03 NCCI=0x00000103
INFO_IND                   ID=002 #0x0b03 LEN=0016
  Controller/PLCI/NCCI            = 0x103
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP                  ID=002 #0x0b03 LEN=0012
  Controller/PLCI/NCCI            = 0x103

    -- ISDN2#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0b04 NCCI=0x00000103
INFO_IND                   ID=002 #0x0b04 LEN=0016
  Controller/PLCI/NCCI            = 0x103
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP                  ID=002 #0x0b04 LEN=0012
  Controller/PLCI/NCCI            = 0x103

    -- ISDN2#02: info element Sending Complete
  == ISDN2#02: pbx already started on channel CAPI/ISDN2#02/12926554-5
    -- Executing [12926554 at extern:1]
capicommand("CAPI/ISDN2#02/12926554-5", "deflect|273400") in new stack
    -- capicommand: 'deflect' '273400'
ALERT_REQ                  ID=002 #0x000f LEN=0018
  Controller/PLCI/NCCI            = 0x103
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

FACILITY_REQ               ID=002 #0x0010 LEN=0031
  Controller/PLCI/NCCI            = 0x103
  FacilitySelector                = 0x3
  FacilityRequestParameter        = <0d 00 0d 01 00 09 00 00 00>273400<00>

CAPI: ApplId=0x0002 Command=0x01 SubCommand=0x81 MsgNum=0x000f NCCI=0x00000103
ALERT_CONF                 ID=002 #0x000f LEN=0014
  Controller/PLCI/NCCI            = 0x103
  Info                            = 0x0

ISDN2#02: wait for FACILITY_CONF (0x8081)
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x81 MsgNum=0x0010 NCCI=0x00000103
FACILITY_CONF              ID=002 #0x0010 LEN=0022
  Controller/PLCI/NCCI            = 0x103
  Info                            = 0x0
  FacilitySelector                = 0x3
  FacilityConfirmationParameter   = <0d 00 02 00 00>

    -- ISDN2#02: unhandled FACILITY_CONF supplementary function 000d
ISDN2#02: found and signal for FACILITY_CONF
ISDN2#02: cond signal received for FACILITY_CONF
    -- ISDN2#02: sent FACILITY_REQ for CD PLCI = 0x103
  == Auto fallthrough, channel 'CAPI/ISDN2#02/12926554-5' status is 'UNKNOWN'
  == ISDN2#02: CAPI Hangingup for PLCI=0x103 in state 1
    -- ISDN2#02: activehangingup (cause=0) for PLCI=0x103
CONNECT_RESP               ID=002 #0x0b01 LEN=0019
  Controller/PLCI/NCCI            = 0x103
  Reject                          = 0x2
  BProtocol                       = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo                  = default

       > chan_capi devicestate requested for ISDN2#02/12926554 is 'Not in use'
       > chan_capi devicestate requested for ISDN2#02/12926554 is 'Not in use'
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x82 MsgNum=0x0b05 NCCI=0x00000103
FACILITY_IND               ID=002 #0x0b05 LEN=0020
  Controller/PLCI/NCCI            = 0x103
  FacilitySelector                = 0x3
  FacilityIndicationParameter     = <0d 00 02 00>6

    -- ISDN2#02: unhandled FACILITY_IND supplementary function 000d
FACILITY_RESP              ID=002 #0x0b05 LEN=0015
  Controller/PLCI/NCCI            = 0x103
  FacilitySelector                = 0x3
  FacilityResponseParameters      = default

CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x0b06 NCCI=0x00000103
INFO_IND                   ID=002 #0x0b06 LEN=0024
  Controller/PLCI/NCCI            = 0x103
  InfoNumber                      = 0x1c
  InfoElement                     = <91 a3 06 02 01 b2 02 01 00>

INFO_RESP                  ID=002 #0x0b06 LEN=0012
  Controller/PLCI/NCCI            = 0x103

    -- ISDN2#02: info element FACILITY
--------------

My capiinfo reports:

Controller 4:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.9-11  (48.155)
Serial Number: 0900093
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


Thank you!


More information about the Chan-capi-users mailing list