Hi Leute
hab ein kleines Problem mit ISDN Hold (holdtype=hold) auf meiner Fritz PCI Karte. Problem ist, wenn ich eine ISDN Verbindung habe und die auf HOLD setze sind anscheinend beide B Kanäle belegt obwohl "capi show channels" einen als frei anzeigt.
"Belegt" weil das Wählen einer zweiten Verbindung fehlschlägt solange die erste auf HOLD ist. Wenn ich das HOLD wieder aufhebe, gelingt das Wählen einer zweiten Verbindung. Frage wäre ob das korrektes Verhalten ist oder, wenn nicht, womöglich ein Problem im Treiber.
Zu meinen System:
Debian Etch mit 2.6.27.23 Kernel
fcpci-src-2.6.24-2.6.28
chan_capi-1.1.2
asterisk 1.6.1.0 / 1.4.22 (beide getestet)
Output von capiinfo:
Und hier ein Log von einem Test mit verbose/debug = 5. Der Test verlief wie folgt:
SIP User "10" wählt CAPI **10 (intern) und setzt die Verbindung auf HOLD
SIP User "20" wählt CAPI 123456 und Verbindung schlägt fehl (busy)
SIP User "10" setzt gehaltene Verbindung auf UNHOLD
SIP User "20" wählt CAPI 123456 und Verbindung gelingt
Die Nummer 123456 ist natürlich ein Fake, habe die echte Nummer einfach im Log ersetzt.
Der Grund warum mich das stört ist natürlich weil ECT so nicht gelingen kann, da nach einem capicommand(hold) dieselbe Symptomatik auftritt und der Dial für ECT fehlschlägt. Wäre daher für Hinweise sehr dankbar, ob/wie das zu korrigieren wäre, so dass HOLD keinen zweiten B Kanal belegt.
-
hab ein kleines Problem mit ISDN Hold (holdtype=hold) auf meiner Fritz PCI Karte. Problem ist, wenn ich eine ISDN Verbindung habe und die auf HOLD setze sind anscheinend beide B Kanäle belegt obwohl "capi show channels" einen als frei anzeigt.
"Belegt" weil das Wählen einer zweiten Verbindung fehlschlägt solange die erste auf HOLD ist. Wenn ich das HOLD wieder aufhebe, gelingt das Wählen einer zweiten Verbindung. Frage wäre ob das korrektes Verhalten ist oder, wenn nicht, womöglich ein Problem im Treiber.
Zu meinen System:
Debian Etch mit 2.6.27.23 Kernel
fcpci-src-2.6.24-2.6.28
chan_capi-1.1.2
asterisk 1.6.1.0 / 1.4.22 (beide getestet)
Output von capiinfo:
Code:
$ capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07 (49.23)
Serial Number: 1000001
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 00020000 00000000 00000000 00000000
Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS
Und hier ein Log von einem Test mit verbose/debug = 5. Der Test verlief wie folgt:
SIP User "10" wählt CAPI **10 (intern) und setzt die Verbindung auf HOLD
SIP User "20" wählt CAPI 123456 und Verbindung schlägt fehl (busy)
SIP User "10" setzt gehaltene Verbindung auf UNHOLD
SIP User "20" wählt CAPI 123456 und Verbindung gelingt
Die Nummer 123456 ist natürlich ein Fake, habe die echte Nummer einfach im Log ersetzt.
Code:
*CLI> capi debug
CAPI Message Debugging Enabled
*CLI> core set verbose 5
Verbosity was 3 and is now 5
*CLI> core set verbose 5
Core debug was 0 and is now 5
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no ----- - trans 0x00 ''->'' B3q=0 B3count=0
ISDN1#01 no ----- - trans 0x00 ''->'' B3q=0 B3count=0
*CLI>
*CLI>
*CLI>
== Using SIP RTP CoS mark 5
-- Executing [9**10@ael-gh-dialout:2] Dial("SIP/10-08205210", "CAPI/g1/**10,30,W") in new stack
> data = g1/**10 format=8
> parsed dialstring: 'g1' 'NULL' '**10' ''
> capi request group = 2
== ISDN1#02: setting format alaw - 0x8 (alaw)
> parsed dialstring: 'g1' 'NULL' '**10' ''
> capi: peerlink -1 allocated, peer is unlinked
> chan_capi devicestate requested for ISDN1#02/**10 is 'In use'
== ISDN1#02: Call CAPI/ISDN1#02/**10-0 (pres=0x00, ton=0x00)
CONNECT_REQ ID=002 #0x0004 LEN=0051
Controller/PLCI/NCCI = 0x1
CIPValue = 0x1
CalledPartyNumber = <80 2a 2a>10
CallingPartyNumber = <00 80>10
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/**10
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x81 MsgNum=0x0004 NCCI=0x00000101
CONNECT_CONF ID=002 #0x0004 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0
-- ISDN1#02: received CONNECT_CONF PLCI = 0x101
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x5d83 NCCI=0x00000101
INFO_IND ID=002 #0x5d83 LEN=0015
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8002
InfoElement = default
INFO_RESP ID=002 #0x5d83 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CALL PROCEEDING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '15' (15) ] [ISDN1#02]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x5d84 NCCI=0x00000101
INFO_IND ID=002 #0x5d84 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=002 #0x5d84 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
-- CAPI/ISDN1#02/**10-0 is proceeding passing it to SIP/10-08205210
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x82 MsgNum=0x5d85 NCCI=0x00000101
FACILITY_IND ID=002 #0x5d85 LEN=0020
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityIndicationParameter = <15 80 02 0a 00>
-- ISDN1#02: PLCI=0x101 CCNR unique id=0x000a
[May 12 21:58:27] NOTICE[3965]: chan_capi_supplementary.c:143 new_ccbsnr_id: No peerlink found to set CCBS/CCNR linkage ID.
-- ISDN1#02: PLCI=0x101 CCBS/CCNR new id=0x000a handle=536936458
FACILITY_RESP ID=002 #0x5d85 LEN=0015
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityResponseParameters = default
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x5d86 NCCI=0x00000101
INFO_IND ID=002 #0x5d86 LEN=0015
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x8001
InfoElement = default
INFO_RESP ID=002 #0x5d86 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element ALERTING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '14' (14) ] [ISDN1#02]
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [ISDN1#02]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x5d87 NCCI=0x00000101
INFO_IND ID=002 #0x5d87 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <81 88>
INFO_RESP ID=002 #0x5d87 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element PI 81 88
> ISDN1#02: In-band information available
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x5d88 NCCI=0x00000101
INFO_IND ID=002 #0x5d88 LEN=0033
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1c
InfoElement = <91 a1 0f 02 02 00 8d 06 06 04 00 82>g<01 01 02 01 0a>
INFO_RESP ID=002 #0x5d88 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element FACILITY
> chan_capi devicestate requested for ISDN1#02/**10 is 'In use'
-- CAPI/ISDN1#02/**10-0 is making progress passing it to SIP/10-08205210
-- CAPI/ISDN1#02/**10-0 is ringing
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x5d89 NCCI=0x00000101
INFO_IND ID=002 #0x5d89 LEN=0020
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x29
InfoElement = <09 05 0c 15>9
INFO_RESP ID=002 #0x5d89 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element Date/Time 09/05/12 21:57
CAPI: ApplId=0x0002 Command=0x03 SubCommand=0x82 MsgNum=0x5d8a NCCI=0x00000101
CONNECT_ACTIVE_IND ID=002 #0x5d8a LEN=0021
Controller/PLCI/NCCI = 0x101
ConnectedNumber = <01 80 2a 2a>10
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=002 #0x5d8a LEN=0012
Controller/PLCI/NCCI = 0x101
CONNECT_B3_REQ ID=002 #0x0005 LEN=0013
Controller/PLCI/NCCI = 0x101
NCPI = default
-- ISDN1#02: sent CONNECT_B3_REQ PLCI=0x101
CAPI: ApplId=0x0002 Command=0x82 SubCommand=0x81 MsgNum=0x0005 NCCI=0x00010101
CONNECT_B3_CONF ID=002 #0x0005 LEN=0014
Controller/PLCI/NCCI = 0x10101
Info = 0x0
CAPI: ApplId=0x0002 Command=0x83 SubCommand=0x82 MsgNum=0x5d8b NCCI=0x00010101
CONNECT_B3_ACTIVE_IND ID=002 #0x5d8b LEN=0013
Controller/PLCI/NCCI = 0x10101
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=002 #0x5d8b LEN=0012
Controller/PLCI/NCCI = 0x10101
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Answer (4) ] [ISDN1#02]
> chan_capi devicestate requested for ISDN1#02/**10 is 'In use'
-- CAPI/ISDN1#02/**10-0 answered SIP/10-08205210
== ISDN1#02: Requested unknown Indication 20 for CAPI/ISDN1#02/**10-0
*CLI>
*CLI>
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no Conn O trans *BP 0x00 '10'->'**10' B3q=480 B3count=1
ISDN1#01 no ----- - trans 0x00 ''->'' B3q=0 B3count=0
*CLI>
*CLI>
*CLI>
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x82 MsgNum=0x60b8 NCCI=0x00000001
FACILITY_IND ID=002 #0x60b8 LEN=0025
Controller/PLCI/NCCI = 0x1
FacilitySelector = 0x3
FacilityIndicationParameter = <0d 80 07 0a 00 03 81>20<00>
-- contr1: PLCI=0x1 CCBS/CCNR erase id=0x000a
-- capi: PLCI=0x1 CCBS/CCNR removed id=0x000a state=1
CAPI: FACILITY_IND SUPPLEMENTARY no interface for PLCI=0x1
FACILITY_RESP ID=002 #0x60b8 LEN=0015
Controller/PLCI/NCCI = 0x1
FacilitySelector = 0x3
FacilityResponseParameters = default
> CAPI: Command=FACILITY_IND,0x8496: no interface for PLCI=0x1, MSGNUM=0x60b8!
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x60b9 NCCI=0x00000001
INFO_IND ID=002 #0x60b9 LEN=0033
Controller/PLCI/NCCI = 0x1
InfoNumber = 0x1c
InfoElement = <91 a1 0f 02 02 00 8f 06 06 04 00 82>g<01 0a 02 01 0a>
INFO_RESP ID=002 #0x60b9 LEN=0012
Controller/PLCI/NCCI = 0x1
CAPI: INFO_IND no interface for PLCI=0x1
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0x60b9!
*CLI>
*CLI>
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no Conn O trans *BP 0x00 '10'->'**10' B3q=480 B3count=1
ISDN1#01 no ----- - trans 0x00 ''->'' B3q=0 B3count=0
*CLI>
*CLI>
*CLI>
*CLI>
== ISDN1#02: Requested HOLD-Indication for CAPI/ISDN1#02/**10-0
FACILITY_REQ ID=002 #0x0614 LEN=0018
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityRequestParameter = <02 00 00>
> ISDN1#02: sent HOLD for PLCI=0x101
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x81 MsgNum=0x0614 NCCI=0x00000101
FACILITY_CONF ID=002 #0x0614 LEN=0022
Controller/PLCI/NCCI = 0x101
Info = 0x0
FacilitySelector = 0x3
FacilityConfirmationParameter = <02 00 02 00 00>
-- ISDN1#02: Call on hold (PLCI=0x101)
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x82 MsgNum=0x639c NCCI=0x00010101
DISCONNECT_B3_IND ID=002 #0x639c LEN=0015
Controller/PLCI/NCCI = 0x10101
Reason_B3 = 0x3301
NCPI = default
DISCONNECT_B3_RESP ID=002 #0x639c LEN=0012
Controller/PLCI/NCCI = 0x10101
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x82 MsgNum=0x639d NCCI=0x00000101
FACILITY_IND ID=002 #0x639d LEN=0020
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityIndicationParameter = <02 00 02 00 00>
-- ISDN1#02: PLCI=0x101 put onhold
FACILITY_RESP ID=002 #0x639d LEN=0015
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityResponseParameters = default
*CLI>
*CLI>
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no Hold O trans *PH 0x00 '10'->'**10' B3q=320 B3count=2
ISDN1#01 no ----- - trans 0x00 ''->'' B3q=0 B3count=0
*CLI>
*CLI>
*CLI>
*CLI>
== Using SIP RTP CoS mark 5
-- Executing [9123456@ael-gh-dialout:2] Dial("SIP/20-08233d08", "CAPI/g1/123456,30,W") in new stack
> data = g1/123456 format=8
> parsed dialstring: 'g1' 'NULL' '123456' ''
> capi request group = 2
== ISDN1#01: setting format alaw - 0x8 (alaw)
> parsed dialstring: 'g1' 'NULL' '123456' ''
> capi: peerlink -1 allocated, peer is unlinked
> chan_capi devicestate requested for ISDN1#01/123456 is 'In use'
== ISDN1#01: Call CAPI/ISDN1#01/123456-1 (pres=0x00, ton=0x00)
CONNECT_REQ ID=002 #0x0616 LEN=0058
Controller/PLCI/NCCI = 0x1
CIPValue = 0x1
CalledPartyNumber = <80>123456
CallingPartyNumber = <00 80>20
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/123456
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x81 MsgNum=0x0616 NCCI=0x00000201
CONNECT_CONF ID=002 #0x0616 LEN=0014
Controller/PLCI/NCCI = 0x201
Info = 0x0
-- ISDN1#01: received CONNECT_CONF PLCI = 0x201
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x639e NCCI=0x00000201
INFO_IND ID=002 #0x639e LEN=0015
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x8002
InfoElement = default
INFO_RESP ID=002 #0x639e LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element CALL PROCEEDING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '15' (15) ] [ISDN1#01]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x639f NCCI=0x00000201
INFO_IND ID=002 #0x639f LEN=0016
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=002 #0x639f LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element CHANNEL IDENTIFICATION 89
-- CAPI/ISDN1#01/123456-1 is proceeding passing it to SIP/20-08233d08
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x63a0 NCCI=0x00000201
INFO_IND ID=002 #0x63a0 LEN=0015
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x8045
InfoElement = default
INFO_RESP ID=002 #0x63a0 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element DISCONNECT
-- ISDN1#01: Disconnect case 1
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Busy (5) ] [ISDN1#01]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x63a1 NCCI=0x00000201
INFO_IND ID=002 #0x63a1 LEN=0017
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x1e
InfoElement = <81 88>
INFO_RESP ID=002 #0x63a1 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element PI 81 88
> ISDN1#01: In-band information available
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '14' (14) ] [ISDN1#01]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x63a2 NCCI=0x00000201
INFO_IND ID=002 #0x63a2 LEN=0017
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x8
InfoElement = <81 81>
INFO_RESP ID=002 #0x63a2 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element CAUSE 81 81
-- CAPI/ISDN1#01/123456-1 is busy
== ISDN1#01: CAPI Hangingup for PLCI=0x201 in state 5
-- ISDN1#01: activehangingup (cause=1) for PLCI=0x201
DISCONNECT_REQ ID=002 #0x0617 LEN=0013
Controller/PLCI/NCCI = 0x201
AdditionalInfo = default
ISDN1#01: wait for DISCONNECT_CONF (0x481)
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x0617 NCCI=0x00000201
DISCONNECT_CONF ID=002 #0x0617 LEN=0014
Controller/PLCI/NCCI = 0x201
Info = 0x0
ISDN1#01: found and signal for DISCONNECT_CONF
ISDN1#01: cond signal received for DISCONNECT_CONF
> chan_capi devicestate requested for ISDN1#01/123456 is 'Not in use'
> chan_capi devicestate requested for ISDN1#01/123456 is 'Not in use'
== Everyone is busy/congested at this time (1:1/0/0)
-- Executing [9123456@ael-gh-dialout:3] Hangup("SIP/20-08233d08", "") in new stack
== Spawn extension (ael-gh-dialout, 9123456, 3) exited non-zero on 'SIP/20-08233d08'
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x63a3 NCCI=0x00000201
DISCONNECT_IND ID=002 #0x63a3 LEN=0014
Controller/PLCI/NCCI = 0x201
Reason = 0x3481
DISCONNECT_RESP ID=002 #0x63a3 LEN=0012
Controller/PLCI/NCCI = 0x201
> ISDN1#01: CAPI INFO 0x3481: Unallocated (unassigned) number
== ISDN1#01: Interface cleanup PLCI=0x201
*CLI>
*CLI>
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no Hold O trans *PH 0x00 '10'->'**10' B3q=320 B3count=2
ISDN1#01 no Disc - trans 0x00 ''->'' B3q=0 B3count=0
*CLI>
*CLI>
*CLI>
*CLI>
== ISDN1#02: Requested UNHOLD-Indication for CAPI/ISDN1#02/**10-0
== ISDN1#02: deferred retrieve.
> ISDN1#02: using PLCI=0x101 for retrieve
FACILITY_REQ ID=002 #0x0618 LEN=0018
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityRequestParameter = <03 00 00>
> ISDN1#02: sent RETRIEVE for PLCI=0x101
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x81 MsgNum=0x0618 NCCI=0x00000101
FACILITY_CONF ID=002 #0x0618 LEN=0022
Controller/PLCI/NCCI = 0x101
Info = 0x0
FacilitySelector = 0x3
FacilityConfirmationParameter = <03 00 02 00 00>
-- ISDN1#02: Call retreived (PLCI=0x101)
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x63a4 NCCI=0x00000101
INFO_IND ID=002 #0x63a4 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=002 #0x63a4 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0002 Command=0x80 SubCommand=0x82 MsgNum=0x63a5 NCCI=0x00000101
FACILITY_IND ID=002 #0x63a5 LEN=0020
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityIndicationParameter = <03 00 02 00 00>
-- ISDN1#02: PLCI=0x101 retrieved
CONNECT_B3_REQ ID=002 #0x0619 LEN=0013
Controller/PLCI/NCCI = 0x101
NCPI = default
-- ISDN1#02: sent CONNECT_B3_REQ PLCI=0x101
FACILITY_RESP ID=002 #0x63a5 LEN=0015
Controller/PLCI/NCCI = 0x101
FacilitySelector = 0x3
FacilityResponseParameters = default
CAPI: ApplId=0x0002 Command=0x82 SubCommand=0x81 MsgNum=0x0619 NCCI=0x00010101
CONNECT_B3_CONF ID=002 #0x0619 LEN=0014
Controller/PLCI/NCCI = 0x10101
Info = 0x0
CAPI: ApplId=0x0002 Command=0x83 SubCommand=0x82 MsgNum=0x63a6 NCCI=0x00010101
CONNECT_B3_ACTIVE_IND ID=002 #0x63a6 LEN=0013
Controller/PLCI/NCCI = 0x10101
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=002 #0x63a6 LEN=0012
Controller/PLCI/NCCI = 0x10101
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Answer (4) ] [ISDN1#02]
*CLI>
*CLI>
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no Conn O trans *BP 0x00 '10'->'**10' B3q=320 B3count=3
ISDN1#01 no Disc - trans 0x00 ''->'' B3q=0 B3count=0
*CLI>
*CLI>
*CLI>
*CLI>
== Using SIP RTP CoS mark 5
-- Executing [9123456@ael-gh-dialout:2] Dial("SIP/20-08233d08", "CAPI/g1/123456,30,W") in new stack
> data = g1/123456 format=8
> parsed dialstring: 'g1' 'NULL' '123456' ''
> capi request group = 2
== ISDN1#01: setting format alaw - 0x8 (alaw)
> parsed dialstring: 'g1' 'NULL' '123456' ''
> capi: peerlink -1 allocated, peer is unlinked
> chan_capi devicestate requested for ISDN1#01/123456 is 'In use'
== ISDN1#01: Call CAPI/ISDN1#01/123456-2 (pres=0x00, ton=0x00)
CONNECT_REQ ID=002 #0x07f6 LEN=0058
Controller/PLCI/NCCI = 0x1
CIPValue = 0x1
CalledPartyNumber = <80>123456
CallingPartyNumber = <00 80>20
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/123456
CAPI: ApplId=0x0002 Command=0x02 SubCommand=0x81 MsgNum=0x07f6 NCCI=0x00000201
CONNECT_CONF ID=002 #0x07f6 LEN=0014
Controller/PLCI/NCCI = 0x201
Info = 0x0
-- ISDN1#01: received CONNECT_CONF PLCI = 0x201
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x6584 NCCI=0x00000201
INFO_IND ID=002 #0x6584 LEN=0015
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x8002
InfoElement = default
INFO_RESP ID=002 #0x6584 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element CALL PROCEEDING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '15' (15) ] [ISDN1#01]
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x6585 NCCI=0x00000201
INFO_IND ID=002 #0x6585 LEN=0016
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x18
InfoElement = <8a>
INFO_RESP ID=002 #0x6585 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element CHANNEL IDENTIFICATION 8a
-- CAPI/ISDN1#01/123456-2 is proceeding passing it to SIP/20-08233d08
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x65fd NCCI=0x00000201
INFO_IND ID=002 #0x65fd LEN=0015
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x8001
InfoElement = default
INFO_RESP ID=002 #0x65fd LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element ALERTING
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Unknown control '14' (14) ] [ISDN1#01]
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Ringing (3) ] [ISDN1#01]
-- CAPI/ISDN1#01/123456-2 is making progress passing it to SIP/20-08233d08
-- CAPI/ISDN1#01/123456-2 is ringing
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x65fe NCCI=0x00000201
INFO_IND ID=002 #0x65fe LEN=0017
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x1e
InfoElement = <81 88>
INFO_RESP ID=002 #0x65fe LEN=0012
Controller/PLCI/NCCI = 0x201
> chan_capi devicestate requested for ISDN1#01/123456 is 'In use'
-- ISDN1#01: info element PI 81 88
> ISDN1#01: In-band information available
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x6636 NCCI=0x00000201
INFO_IND ID=002 #0x6636 LEN=0020
Controller/PLCI/NCCI = 0x201
InfoNumber = 0x29
InfoElement = <09 05 0c 15 3a>
INFO_RESP ID=002 #0x6636 LEN=0012
Controller/PLCI/NCCI = 0x201
-- ISDN1#01: info element Date/Time 09/05/12 21:58
CAPI: ApplId=0x0002 Command=0x03 SubCommand=0x82 MsgNum=0x6637 NCCI=0x00000201
CONNECT_ACTIVE_IND ID=002 #0x6637 LEN=0017
Controller/PLCI/NCCI = 0x201
ConnectedNumber = <01 a0>
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=002 #0x6637 LEN=0012
Controller/PLCI/NCCI = 0x201
CONNECT_B3_REQ ID=002 #0x08a7 LEN=0013
Controller/PLCI/NCCI = 0x201
NCPI = default
-- ISDN1#01: sent CONNECT_B3_REQ PLCI=0x201
CAPI: ApplId=0x0002 Command=0x82 SubCommand=0x81 MsgNum=0x08a7 NCCI=0x00020201
CONNECT_B3_CONF ID=002 #0x08a7 LEN=0014
Controller/PLCI/NCCI = 0x20201
Info = 0x0
CAPI: ApplId=0x0002 Command=0x83 SubCommand=0x82 MsgNum=0x6638 NCCI=0x00020201
CONNECT_B3_ACTIVE_IND ID=002 #0x6638 LEN=0013
Controller/PLCI/NCCI = 0x20201
NCPI = default
CONNECT_B3_ACTIVE_RESP ID=002 #0x6638 LEN=0012
Controller/PLCI/NCCI = 0x20201
-- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Answer (4) ] [ISDN1#01]
> chan_capi devicestate requested for ISDN1#01/123456 is 'In use'
-- CAPI/ISDN1#01/123456-2 answered SIP/20-08233d08
== ISDN1#01: Requested unknown Indication 20 for CAPI/ISDN1#01/123456-2
*CLI>
*CLI>
*CLI>
*CLI> capi show channels
CAPI B-channel information:
Line-Name NTmode state i/o bproto isdnstate ton number
----------------------------------------------------------------
ISDN1#02 no Conn O trans *BP 0x00 '10'->'**10' B3q=320 B3count=3
ISDN1#01 no Conn O trans *BP 0x00 '20'->'123456' B3q=480 B3count=1
*CLI>
*CLI>
Der Grund warum mich das stört ist natürlich weil ECT so nicht gelingen kann, da nach einem capicommand(hold) dieselbe Symptomatik auftritt und der Dial für ECT fehlschlägt. Wäre daher für Hinweise sehr dankbar, ob/wie das zu korrigieren wäre, so dass HOLD keinen zweiten B Kanal belegt.
-