Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 18:33:17 +0200
From:      Mikael Batard <support@wanagain.net>
To:        freebsd-isdn@freebsd.org
Subject:   Re: Digium b410p with i4b
Message-ID:  <469657CD.8030305@wanagain.net>
In-Reply-To: <200707120818.30352.hselasky@c2i.net>
References:  <4665CAFA.3080801@wanagain.net> <200706061455.21425.hselasky@c2i.net> <46955E2F.6040405@wanagain.net> <200707120818.30352.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12.07.2007 08:18, Hans Petter Selasky wrote:
> On Thursday 12 July 2007 00:48, Mikael Batard wrote:
>> Jul 12 00:31:42 VERBOSE[2917] logger.c: CAPI_INFO_IND {
>>   header {
>>    WORD       wLen                = 0x000f
>>    WORD       wApp                = 0x0000
>>    WORD       wCmd                = 0x8492
>>    WORD       wNum                = 0x0000
>>    DWORD      dwCid               = 0x0000380a
>>   }
>>   data {
>>    WORD       wInfoNum            = 0x805a
>>    STRUCT     InfoElement.ptr     = 0x00 '?'.
>>   }
>> }
>>
> 
> Hi Mikael,

Hi,

> wInfoNum equal to 0x805A means RELEASE_COMPLETE
> 
> This message is sent two times:
> 
> 1) When a call is disconnected.
> 
> You can run "isdndecode -u 0 -i -o -x" to get debugging information 
> from "controller 0". "isdndecode -u 1 -i -o -x" will get you debugging 
> information from "controller 1" and so on. Send me a log from ISDN-decode, 
> and I will check who is disconnecting the call.

OK, here's the debug for a missed call :

# isdndecode -u 8 -i -o -x

=========== isdndecode controller #8 ========== started Thu Jul 12 
18:22:38 2007

-- NT->TE - unit:08 --------------- time:12.07 18:22:40.891979 
----------------
L1 STATE: F7: Activated

-- NT->TE - unit:08  frame:002255 - time:12.07 18:22:41.036056 - 
length:40 ----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L3 03 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 04 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 05 16 0------- Call Reference is sent from call originator
          -0010110 Call Reference = 22 = 0x16
L3 06 05 0------- Message type extension = 0
          -0000101 Message type = SETUP 
   (0x05)
L3 07 A1 1------- Single octet Information element
          -0100001 Sending complete
L3 08 04 0------- Variable length Information element
          -0000100 IE = bearer capability
L3 09 03 00000011 IE Length = 3 bytes
L3 0A 90 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Coding standard = CCITT
          ---10000 Capability = 0x10, 3.1 kHz audio
L3 0B 90 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Mode = 0x00, circuit
          ---10000 Rate = 0x10, 64 kbit/s
L3 0C A3 1------- Extension Bit = 1                 (no extension, final 
octet)
          -01----- Layer 1 identity = 1
          ---00011 Layer 1 Protocol = 0x03, G.711 a-Law
L3 0D 18 0------- Variable length Information element
          -0011000 IE = channel identification
L3 0E 01 00000001 IE Length = 1 bytes
L3 0F 89 1------- Extension Bit = 1                 (no extension, final 
octet)
          -0------ Interface Id present = No
          --0----- Interface Type = BRI
          ---0---- Spare
          ----1--- Channel is exclusive
          -----0-- Channel is not the D-Channel
          ------01 Channel = B-1
L3 10 1E 0------- Variable length Information element
          -0011110 IE = progress indicator
L3 11 02 00000010 IE Length = 2 bytes
L3 12 84 -00----- Coding standard = CCITT
          ----0100 location = Public network serving remote user
L3 13 83 -0000011 description = Origination address is non-ISDN
L3 14 6C 0------- Variable length Information element
          -1101100 IE = calling party number
L3 15 0B 00001011 IE Length = 11 bytes
L3 16 20 0------- Extension Bit = 0             (with extension, octet 
follows)
          -010---- Type = National number
          ----0000 Plan = Unknown 
    (0x0)
L3 17 83 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Presentation = allowed
          ---000-- Spare
          ------11 Screening = network provided
L3 18 39 00111001 Number digit = 9
L3 19 35 00110101 Number digit = 5
L3 1A 32 00110010 Number digit = 2
L3 1B 37 00110111 Number digit = 7
L3 1C 36 00110110 Number digit = 6
L3 1D 30 00110000 Number digit = 0
L3 1E 37 00110111 Number digit = 7
L3 1F 35 00110101 Number digit = 5
L3 20 30 00110000 Number digit = 0
L3 21 70 0------- Variable length Information element
          -1110000 IE = called party number
L3 22 05 00000101 IE Length = 5 bytes
L3 23 81 1------- Extension Bit = 1                 (no extension, final 
octet)
          -000---- Type = Unknown
          ----0001 Plan = ISDN (E.164) 
    (0x1)
L3 24 32 00110010 Number digit = 2
L3 25 36 00110110 Number digit = 6
L3 26 38 00111000 Number digit = 8
L3 27 36 00110110 Number digit = 6

-- TE->NT - unit:08  frame:002256 - time:12.07 18:22:41.036109 - 
length:8 -----
L2 00 FC 111111-- SAPI = 63                                (Layer 2 
Management)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 AB 10101011 Ri = 0xab57                           (Reference 
number high)
L2 05 57 01010111 Ri                                     (Reference 
Number low)
L2 06 01 00000001 TEI Identity message = REQUEST 
  (0x01)
L2 07 FF 1111111- Ai = 127                                (Action 
Indicator = )
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- NT->TE - unit:08  frame:002257 - time:12.07 18:22:41.068061 - 
length:8 -----
L2 00 FE 111111-- SAPI = 63                                (Layer 2 
Management)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 AB 10101011 Ri = 0xab57                           (Reference 
number high)
L2 05 57 01010111 Ri                                     (Reference 
Number low)
L2 06 02 00000010 TEI Identity message = ASSIGNED 
  (0x02)
L2 07 E5 1110010- Ai = 114                                   (Action 
Indicator)
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- TE->NT - unit:08  frame:002258 - time:12.07 18:22:41.068100 - 
length:3 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 7F 011-1111 U-Frame: SABME                (Set Asynchonous 
Balanced Mode)
          ---1---- P/F, Poll = Immediate Response Required

-- TE->NT - unit:08  frame:002259 - time:12.07 18:22:41.068103 - 
length:8 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 00 0000000- N(S) = 0                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 00 0000000- N(R) = 0                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 7F 0------- Call Reference is sent from call originator
          -1111111 Call Reference = 127 = 0x7f
L3 07 75 0------- Message type extension = 0
          -1110101 Message type = STATUS_ENQUIRY 
   (0x75)

-- TE->NT - unit:08  frame:002260 - time:12.07 18:22:41.068120 - 
length:8 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 02 0000001- N(S) = 1                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 01 0000000- N(R) = 0                            (receive sequence 
number)
          -------1 P/F, Poll = Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 7F 0------- Call Reference is sent from call originator
          -1111111 Call Reference = 127 = 0x7f
L3 07 75 0------- Message type extension = 0
          -1110101 Message type = STATUS_ENQUIRY 
   (0x75)

-- NT->TE - unit:08  frame:002261 - time:12.07 18:22:41.100057 - 
length:3 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 73 011-0011 U-Frame: UA                          (Unnumbered 
Acknowledge)
          ---1---- P/F, Final = Result of Poll

-- NT->TE - unit:08  frame:002262 - time:12.07 18:22:41.100079 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 02 0000001- N(R) = 1                            (receive sequence 
number)
          -------0 P/F, Final = No Result of Poll

-- NT->TE - unit:08  frame:002263 - time:12.07 18:22:41.132058 - 
length:15 ----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 00 0000000- N(S) = 0                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 02 0000001- N(R) = 1                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 FF 1------- Call Reference is sent to call originator
          -1111111 Call Reference = 127 = 0x7f
L3 07 7D 0------- Message type extension = 0
          -1111101 Message type = STATUS 
   (0x7d)
L3 08 08 0------- Variable length Information element
          -0001000 IE = cause
L3 09 02 00000010 IE Length = 2 bytes
L3 0A 87 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Coding standard = CCITT
          ---0---- Spare
          ----0111 Location = ERROR: undefined/reserved
L3 0B 9E 1------- Extension Bit = 1                 (no extension, final 
octet)
          -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY
L3 0C 14 0------- Variable length Information element
          -0010100 IE = call state
L3 0D 01 00000001 IE Length = 1 bytes
L3 0E 00 -00----- Coding standard = CCITT
          ---00000 state = Null

-- NT->TE - unit:08  frame:002264 - time:12.07 18:22:41.132081 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 05 0000010- N(R) = 2                            (receive sequence 
number)
          -------1 P/F, Final = Result of Poll

-- TE->NT - unit:08  frame:002265 - time:12.07 18:22:41.132110 - 
length:8 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 04 0000010- N(S) = 2                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 03 0000001- N(R) = 1                            (receive sequence 
number)
          -------1 P/F, Poll = Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 96 1------- Call Reference is sent to call originator
          -0010110 Call Reference = 22 = 0x16
L3 07 02 0------- Message type extension = 0
          -0000010 Message type = CALL_PROCEEDING 
   (0x02)

-- NT->TE - unit:08  frame:002266 - time:12.07 18:22:41.164059 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 07 0000011- N(R) = 3                            (receive sequence 
number)
          -------1 P/F, Final = Result of Poll

-- NT->TE - unit:08  frame:002267 - time:12.07 18:22:41.164083 - 
length:15 ----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 02 0000001- N(S) = 1                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 06 0000011- N(R) = 3                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 FF 1------- Call Reference is sent to call originator
          -1111111 Call Reference = 127 = 0x7f
L3 07 7D 0------- Message type extension = 0
          -1111101 Message type = STATUS 
   (0x7d)
L3 08 08 0------- Variable length Information element
          -0001000 IE = cause
L3 09 02 00000010 IE Length = 2 bytes
L3 0A 87 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Coding standard = CCITT
          ---0---- Spare
          ----0111 Location = ERROR: undefined/reserved
L3 0B 9E 1------- Extension Bit = 1                 (no extension, final 
octet)
          -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY
L3 0C 14 0------- Variable length Information element
          -0010100 IE = call state
L3 0D 01 00000001 IE Length = 1 bytes
L3 0E 00 -00----- Coding standard = CCITT
          ---00000 state = Null

-- TE->NT - unit:08  frame:002268 - time:12.07 18:22:41.164112 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 04 0000010- N(R) = 2                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required

-- NT->TE - unit:08  frame:002269 - time:12.07 18:22:41.292059 - 
length:3 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 73 011-0011 U-Frame: UA                          (Unnumbered 
Acknowledge)
          ---1---- P/F, Final = Result of Poll

-- NT->TE - unit:08  frame:002270 - time:12.07 18:22:41.580060 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 02 0000001- N(R) = 1                            (receive sequence 
number)
          -------0 P/F, Final = No Result of Poll

-- NT->TE - unit:08  frame:002271 - time:12.07 18:22:41.708061 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 04 0000010- N(R) = 2                            (receive sequence 
number)
          -------0 P/F, Final = No Result of Poll

-- NT->TE - unit:08  frame:002272 - time:12.07 18:22:43.788077 - 
length:8 -----
L2 00 FE 111111-- SAPI = 63                                (Layer 2 
Management)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 00 00000000 Ri = 0x0000                           (Reference 
number high)
L2 05 00 00000000 Ri                                     (Reference 
Number low)
L2 06 04 00000100 TEI Identity message = CHECK REQUEST 
  (0x04)
L2 07 FF 1111111- Ai = 127                                (Action 
Indicator = )
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- TE->NT - unit:08  frame:002273 - time:12.07 18:22:43.788110 - 
length:8 -----
L2 00 FC 111111-- SAPI = 63                                (Layer 2 
Management)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 AB 10101011 Ri = 0xab57                           (Reference 
number high)
L2 05 57 01010111 Ri                                     (Reference 
Number low)
L2 06 05 00000101 TEI Identity message = CHECK RESPONSE 
  (0x05)
L2 07 E5 1110010- Ai = 114                                   (Action 
Indicator)
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- NT->TE - unit:08  frame:002274 - time:12.07 18:22:44.812083 - 
length:8 -----
L2 00 FE 111111-- SAPI = 63                                (Layer 2 
Management)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 00 00000000 Ri = 0x0000                           (Reference 
number high)
L2 05 00 00000000 Ri                                     (Reference 
Number low)
L2 06 04 00000100 TEI Identity message = CHECK REQUEST 
  (0x04)
L2 07 E3 1110001- Ai = 113                                   (Action 
Indicator)
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- NT->TE - unit:08  frame:002275 - time:12.07 18:22:45.836089 - 
length:8 -----
L2 00 FE 111111-- SAPI = 63                                (Layer 2 
Management)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 00 00000000 Ri = 0x0000                           (Reference 
number high)
L2 05 00 00000000 Ri                                     (Reference 
Number low)
L2 06 04 00000100 TEI Identity message = CHECK REQUEST 
  (0x04)
L2 07 E3 1110001- Ai = 113                                   (Action 
Indicator)
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- NT->TE - unit:08  frame:002276 - time:12.07 18:22:46.860095 - 
length:8 -----
L2 00 FE 111111-- SAPI = 63                                (Layer 2 
Management)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 00 00000000 Ri = 0x0000                           (Reference 
number high)
L2 05 00 00000000 Ri                                     (Reference 
Number low)
L2 06 06 00000110 TEI Identity message = REMOVE 
  (0x06)
L2 07 E3 1110001- Ai = 113                                   (Action 
Indicator)
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- NT->TE - unit:08  frame:002277 - time:12.07 18:22:46.860123 - 
length:8 -----
L2 00 FE 111111-- SAPI = 63                                (Layer 2 
Management)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 FF 1111111- TEI = 127 = 0x7f 
(Broadcast TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 03 000-0011 U-Frame: UI                          (Unnumbered 
Information)
          ---0---- P/F, Poll = No Immediate Response Required
L2 03 0F 00001111 MEI                            (Management Entity 
Identifier)
L2 04 00 00000000 Ri = 0x0000                           (Reference 
number high)
L2 05 00 00000000 Ri                                     (Reference 
Number low)
L2 06 06 00000110 TEI Identity message = REMOVE 
  (0x06)
L2 07 E3 1110001- Ai = 113                                   (Action 
Indicator)
          -------1 Extension Bit = 1                 (no extension, 
final octet)

-- TE->NT - unit:08  frame:002278 - time:12.07 18:22:49.036118 - 
length:8 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 06 0000011- N(S) = 3                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 05 0000010- N(R) = 2                            (receive sequence 
number)
          -------1 P/F, Poll = Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 96 1------- Call Reference is sent to call originator
          -0010110 Call Reference = 22 = 0x16
L3 07 75 0------- Message type extension = 0
          -1110101 Message type = STATUS_ENQUIRY 
   (0x75)

-- NT->TE - unit:08  frame:002279 - time:12.07 18:22:49.068112 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 09 0000100- N(R) = 4                            (receive sequence 
number)
          -------1 P/F, Final = Result of Poll

-- NT->TE - unit:08  frame:002280 - time:12.07 18:22:49.068138 - 
length:15 ----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 04 0000010- N(S) = 2                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 08 0000100- N(R) = 4                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 16 0------- Call Reference is sent from call originator
          -0010110 Call Reference = 22 = 0x16
L3 07 7D 0------- Message type extension = 0
          -1111101 Message type = STATUS 
   (0x7d)
L3 08 08 0------- Variable length Information element
          -0001000 IE = cause
L3 09 02 00000010 IE Length = 2 bytes
L3 0A 87 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Coding standard = CCITT
          ---0---- Spare
          ----0111 Location = ERROR: undefined/reserved
L3 0B 9E 1------- Extension Bit = 1                 (no extension, final 
octet)
          -0011110 Cause = 30: Q.850: response to STATUS ENQUIRY
L3 0C 14 0------- Variable length Information element
          -0010100 IE = call state
L3 0D 01 00000001 IE Length = 1 bytes
L3 0E 07 -00----- Coding standard = CCITT
          ---00111 state = Call received

-- TE->NT - unit:08  frame:002281 - time:12.07 18:22:49.068168 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 06 0000011- N(R) = 3                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required

-- NT->TE - unit:08  frame:002282 - time:12.07 18:22:51.692127 - 
length:4 -----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 05 0000010- N(R) = 2                            (receive sequence 
number)
          -------1 P/F, Poll = Immediate Response Required

-- NT->TE - unit:08  frame:002283 - time:12.07 18:22:53.292137 - 
length:12 ----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 06 0000011- N(S) = 3                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 08 0000100- N(R) = 4                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 16 0------- Call Reference is sent from call originator
          -0010110 Call Reference = 22 = 0x16
L3 07 5A 0------- Message type extension = 0
          -1011010 Message type = RELEASE_COMPLETE 
   (0x5a)
L3 08 08 0------- Variable length Information element
          -0001000 IE = cause
L3 09 02 00000010 IE Length = 2 bytes
L3 0A 87 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Coding standard = CCITT
          ---0---- Spare
          ----0111 Location = ERROR: undefined/reserved
L3 0B EF 1------- Extension Bit = 1                 (no extension, final 
octet)
          -1101111 Cause = 111: Q.850: protocol error, unspecified

-- NT->TE - unit:08  frame:002284 - time:12.07 18:22:53.292178 - 
length:12 ----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 00 0000000- N(S) = 0                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 04 0000010- N(R) = 2                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 16 0------- Call Reference is sent from call originator
          -0010110 Call Reference = 22 = 0x16
L3 07 4D 0------- Message type extension = 0
          -1001101 Message type = RELEASE 
   (0x4d)
L3 08 08 0------- Variable length Information element
          -0001000 IE = cause
L3 09 02 00000010 IE Length = 2 bytes
L3 0A 87 1------- Extension Bit = 1                 (no extension, final 
octet)
          -00----- Coding standard = CCITT
          ---0---- Spare
          ----0111 Location = ERROR: undefined/reserved
L3 0B 90 1------- Extension Bit = 1                 (no extension, final 
octet)
          -0010000 Cause = 16: Q.850: normal call clearing

-- TE->NT - unit:08  frame:002285 - time:12.07 18:22:53.292205 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 08 0000100- N(R) = 4                            (receive sequence 
number)
          -------0 P/F, Poll = No Immediate Response Required

-- NT->TE - unit:08  frame:002286 - time:12.07 18:22:53.356137 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 06 0000011- N(R) = 3                            (receive sequence 
number)
          -------0 P/F, Final = No Result of Poll

-- NT->TE - unit:08  frame:002287 - time:12.07 18:22:55.276150 - 
length:3 -----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 53 010-0011 U-Frame: DISC 
(Disconnect)
          ---1---- P/F, Poll = Immediate Response Required

-- TE->NT - unit:08  frame:002288 - time:12.07 18:22:55.276185 - 
length:3 -----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 73 011-0011 U-Frame: UA                          (Unnumbered 
Acknowledge)
          ---1---- P/F, Final = Result of Poll

-- NT->TE - unit:08  frame:002289 - time:12.07 18:22:55.340149 - 
length:3 -----
L2 00 02 000000-- SAPI = 0                                       (Call 
Control)
          ------1- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 01 0000000- TEI = 0 = 0x00 
(Non-automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 53 010-0011 U-Frame: DISC 
(Disconnect)
          ---1---- P/F, Poll = Immediate Response Required

-- NT->TE - unit:08 --------------- time:12.07 18:23:06.444145 
----------------
L1 STATE: F3: Deactivated

> 2) When another CAPI application has answered the call.
> 
> Check if there is another CAPI application or I4B application (isdnd) running, 
> that listenes for calls.

No, there is not another application that listen for calls, only i4b 
with chan_capi (from svn, revision 516)

For the isdndecode debug, I can see a difference between missed and 
normal calls :

### Missed:
-- NT->TE - unit:08  frame:002266 - time:12.07 18:22:41.164059 - 
length:4 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Response
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E5 1110010- TEI = 114 = 0x72 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 01 00000001 S-Frame: RR                                  (Receiver 
Ready)
L2 03 07 0000011- N(R) = 3                            (receive sequence 
number)
          -------1 P/F, Final = Result of Poll

### Normal:
-- TE->NT - unit:10  frame:000664 - time:12.07 13:30:42.929876 - 
length:8 -----
L2 00 00 000000-- SAPI = 0                                       (Call 
Control)
          ------0- C/R = Command
          -------0 Extension Bit = 0             (with extension, octet 
follows)
L2 01 E3 1110001- TEI = 113 = 0x71 
(Automatic TEI)
          -------1 Extension Bit = 1                 (no extension, 
final octet)
L2 02 06 0000011- N(S) = 3                               (send sequence 
number)
          -------0 I-Frame: Information transfer
L2 03 03 0000001- N(R) = 1                            (receive sequence 
number)
          -------1 P/F, Poll = Immediate Response Required
L3 04 08 00001000 Protocol = Q.931/I.451/DSS1 
  (0x08)
L3 05 01 0000---- Call Reference
          ----0001 Call Reference length is 1 byte
L3 06 90 1------- Call Reference is sent to call originator
          -0010000 Call Reference = 16 = 0x10
L3 07 07 0------- Message type extension = 0
          -0000111 Message type = CONNECT 
   (0x07)

Regards
-- 
Mikael Batard
Wan Again
12 Route de l'Isle
84510 Caumont sur Durance
Tel: +33 (0)4 90 01 26 86
Fax: +33 (0)4 90 23 10 58
http://www.wanagain.fr/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469657CD.8030305>