|
www.seventest.com Форум сайта Seventest (Это закрытый форум. На нем общаются только зарегистрированные пользователи Seventest. Регистрация)
|
View previous topic :: View next topic |
Author |
Message |
Alex_P
Joined: 07 Apr 2008 Posts: 12
|
Posted: Mon Apr 07, 2008 4:05 pm Post subject: MAP_SEND_IMSI (Return Result Last) - если у меня баг то где? |
|
|
Искусственно сгенерированное сообщение MAP_SEND_IMSI (Return Result Last):
Quote: | 82 82 3f 83 6f 80 37 10 09 80 03 0e 19 0b 12 07 00 11 04 97 21 43 65 87 f9 0b 12 06 00 11 04 97 21 43 65 87 f0 1e 64 1c 49 04 02 00 00 00 6c 14 a2 12 02 01 01 30 0d 02 01 3a 04 08 52 00 70 19 32 54 76 f8 b7 85 |
В ASN.1 описании sendIMSI:
Quote: | sendIMSI OPERATION ::= {
ARGUMENT
ISDN-AddressString
RESULT
IMSI
ERRORS {
dataMissing |
unexpectedDataValue |
unknownSubscriber}
CODE local:58 } |
Декодер "упирается" на IMSI (сразу после Local Operation Code) в сообщении:
Quote: | Seventest online decoder
MTP2: Russian specifications, 2000
0 .0000010 Backward sequence number...... 2 Dec
1....... Backward indicator bit........ 1 Dec
1 .0000010 Forward sequence number....... 2 Dec
1....... Forward indicator bit......... 1 Dec
2 ..111111 Length indicator.............. 63 Dec
00...... Spare......................... Spare
MTP3: Russian specifications, 2000
3 ....0011 Service indicator............. SCCP
..00.... Spare......................... 0 Dec
10...... Network indicator............. National network
4 ***b14** Destination point code........ 111 Dec
***b14** Originating point code........ 222 Dec
0001.... Signalling link selection..... 1 Dec
SCCP: Russian specifications, 2001
8 00001001 Message type.................. UDT
-- Protocol class
9 ....0000 Protocol class................ Class 0
1000.... Message handling.............. Return on error
10 00000011 Pointer....................... 3 Dec
11 00001110 Pointer....................... 14 Dec
12 00011001 Pointer....................... 25 Dec
13 00001011 Length........................ 11 Dec
-- Called party address
14 .......0 Point code ind................ PC absent
......1. SSN ind....................... SSN present
..0100.. Global title ind.............. Transl. type & Numb. plan & Enc. scheme
.0...... Routing ind................... Route on GT
0....... Reserved for national use..... 0 Hex
15 00000111 Subsystem number.............. VLR
16 00000000 Translation type.............. 0 Hex
17 ....0001 Encoding scheme............... BCD, odd number of digits
0001.... Numbering plan................ ISDN/Telephony Numbering plan
18 .0000100 Nature of address ind......... International number
0....... Spare......................... 0
19 ***b44** Address signal................ 79123456789
1111.... Filler........................ 15 Dec
25 00001011 Length........................ 11 Dec
-- Calling party address
26 .......0 Point code ind................ PC absent
......1. SSN ind....................... SSN present
..0100.. Global title ind.............. Transl. type & Numb. plan & Enc. scheme
.0...... Routing ind................... Route on GT
0....... Reserved for national use..... 0 Hex
27 00000110 Subsystem number.............. HLR
28 00000000 Translation type.............. 0 Hex
29 ....0001 Encoding scheme............... BCD, odd number of digits
0001.... Numbering plan................ ISDN/Telephony Numbering plan
30 .0000100 Nature of address ind......... International number
0....... Spare......................... 0
31 ***b44** Address signal................ 79123456780
1111.... Filler........................ 15 Dec
37 00011110 Length........................ 30 Dec
-- Data
TCAP: ITU-T Q.773 White book, 1997
-- Message type
38 ***b8*** TAG: class=1 code=4 type=1
39 ***b8*** Length........................ 28 Dec
-- END
40 ***b8*** TAG: class=1 code=9 type=0
41 ***b8*** Length........................ 4 Dec
-- Destination transaction id
42 ***B4*** .............................. 2000000 Hex
46 ***b8*** TAG: class=1 code=12 type=1
47 ***b8*** Length........................ 20 Dec
48 ***b8*** TAG: class=2 code=2 type=1
49 ***b8*** Length........................ 18 Dec
-- Return result last
50 ***b8*** TAG: class=0 code=2 type=0
51 ***b8*** Length........................ 1 Dec
-- Invoke id
52 00000001 Invoke id..................... 01
53 ***b8*** TAG: class=0 code=16 type=1
54 ***b8*** Length........................ 13 Dec
-- Result
55 ***b8*** TAG: class=0 code=2 type=0
56 ***b8*** Length........................ 1 Dec
57 00111010 Local operation code.......... SEND IMSI
Container: cMAP_ReturnResultLast
Wrong Component Length. Must be: 104:bits Decoded: 24:bits
Undecoded data: 04 08 52 00 70 19 32 54 76 F8
MAP: 3GPP TS 29.002 Ver 6.12.0, 2005
Remainder:
B7 85
Time elapsed: 1.00000 sec
Parse completed at: 1.00000 sec
Decoding completed at: 0.00000 sec |
Вроде как всё правильно в ASN.1 BER я сгенерил (вручную), а декодер ругается...
Где грабли? |
|
Back to top |
|
|
Support Сотрудник Seventest
Joined: 30 Sep 2005 Posts: 355 Location: Санкт-Петербург
|
Posted: Wed Apr 09, 2008 1:06 pm Post subject: Re: MAP_SEND_IMSI (Return Result Last) - если у меня баг то |
|
|
Alex_P wrote: | Искусственно сгенерированное сообщение MAP_SEND_IMSI (Return Result Last):
Quote: | 82 82 3f 83 6f 80 37 10 09 80 03 0e 19 0b 12 07 00 11 04 97 21 43 65 87 f9 0b 12 06 00 11 04 97 21 43 65 87 f0 1e 64 1c 49 04 02 00 00 00 6c 14 a2 12 02 01 01 30 0d 02 01 3a 04 08 52 00 70 19 32 54 76 f8 b7 85 |
В ASN.1 описании sendIMSI:
Quote: | sendIMSI OPERATION ::= {
ARGUMENT
ISDN-AddressString
RESULT
IMSI
ERRORS {
dataMissing |
unexpectedDataValue |
unknownSubscriber}
CODE local:58 } |
Декодер "упирается" на IMSI (сразу после Local Operation Code) в сообщении:
Quote: | Seventest online decoder
MTP2: Russian specifications, 2000
0 .0000010 Backward sequence number...... 2 Dec
1....... Backward indicator bit........ 1 Dec
1 .0000010 Forward sequence number....... 2 Dec
1....... Forward indicator bit......... 1 Dec
2 ..111111 Length indicator.............. 63 Dec
00...... Spare......................... Spare
MTP3: Russian specifications, 2000
3 ....0011 Service indicator............. SCCP
..00.... Spare......................... 0 Dec
10...... Network indicator............. National network
4 ***b14** Destination point code........ 111 Dec
***b14** Originating point code........ 222 Dec
0001.... Signalling link selection..... 1 Dec
SCCP: Russian specifications, 2001
8 00001001 Message type.................. UDT
-- Protocol class
9 ....0000 Protocol class................ Class 0
1000.... Message handling.............. Return on error
10 00000011 Pointer....................... 3 Dec
11 00001110 Pointer....................... 14 Dec
12 00011001 Pointer....................... 25 Dec
13 00001011 Length........................ 11 Dec
-- Called party address
14 .......0 Point code ind................ PC absent
......1. SSN ind....................... SSN present
..0100.. Global title ind.............. Transl. type & Numb. plan & Enc. scheme
.0...... Routing ind................... Route on GT
0....... Reserved for national use..... 0 Hex
15 00000111 Subsystem number.............. VLR
16 00000000 Translation type.............. 0 Hex
17 ....0001 Encoding scheme............... BCD, odd number of digits
0001.... Numbering plan................ ISDN/Telephony Numbering plan
18 .0000100 Nature of address ind......... International number
0....... Spare......................... 0
19 ***b44** Address signal................ 79123456789
1111.... Filler........................ 15 Dec
25 00001011 Length........................ 11 Dec
-- Calling party address
26 .......0 Point code ind................ PC absent
......1. SSN ind....................... SSN present
..0100.. Global title ind.............. Transl. type & Numb. plan & Enc. scheme
.0...... Routing ind................... Route on GT
0....... Reserved for national use..... 0 Hex
27 00000110 Subsystem number.............. HLR
28 00000000 Translation type.............. 0 Hex
29 ....0001 Encoding scheme............... BCD, odd number of digits
0001.... Numbering plan................ ISDN/Telephony Numbering plan
30 .0000100 Nature of address ind......... International number
0....... Spare......................... 0
31 ***b44** Address signal................ 79123456780
1111.... Filler........................ 15 Dec
37 00011110 Length........................ 30 Dec
-- Data
TCAP: ITU-T Q.773 White book, 1997
-- Message type
38 ***b8*** TAG: class=1 code=4 type=1
39 ***b8*** Length........................ 28 Dec
-- END
40 ***b8*** TAG: class=1 code=9 type=0
41 ***b8*** Length........................ 4 Dec
-- Destination transaction id
42 ***B4*** .............................. 2000000 Hex
46 ***b8*** TAG: class=1 code=12 type=1
47 ***b8*** Length........................ 20 Dec
48 ***b8*** TAG: class=2 code=2 type=1
49 ***b8*** Length........................ 18 Dec
-- Return result last
50 ***b8*** TAG: class=0 code=2 type=0
51 ***b8*** Length........................ 1 Dec
-- Invoke id
52 00000001 Invoke id..................... 01
53 ***b8*** TAG: class=0 code=16 type=1
54 ***b8*** Length........................ 13 Dec
-- Result
55 ***b8*** TAG: class=0 code=2 type=0
56 ***b8*** Length........................ 1 Dec
57 00111010 Local operation code.......... SEND IMSI
Container: cMAP_ReturnResultLast
Wrong Component Length. Must be: 104:bits Decoded: 24:bits
Undecoded data: 04 08 52 00 70 19 32 54 76 F8
MAP: 3GPP TS 29.002 Ver 6.12.0, 2005
Remainder:
B7 85
Time elapsed: 1.00000 sec
Parse completed at: 1.00000 sec
Decoding completed at: 0.00000 sec |
Вроде как всё правильно в ASN.1 BER я сгенерил (вручную), а декодер ругается...
Где грабли? |
Опечатка в декодере.
Будет исправлена в ближайшее время |
|
Back to top |
|
|
Support Сотрудник Seventest
Joined: 30 Sep 2005 Posts: 355 Location: Санкт-Петербург
|
Posted: Thu Apr 10, 2008 10:01 am Post subject: Re: MAP_SEND_IMSI (Return Result Last) - если у меня баг то |
|
|
Исправлено.
Code: | MTP2: Russian specifications, 2000
0 .0000010 Backward sequence number...... 2 Dec
1....... Backward indicator bit........ 1 Dec
1 .0000010 Forward sequence number....... 2 Dec
1....... Forward indicator bit......... 1 Dec
2 ..111111 Length indicator.............. 63 Dec
00...... Spare......................... Spare
MTP3: Russian specifications, 2000
3 ....0011 Service indicator............. SCCP
..00.... Spare......................... 0 Dec
10...... Network indicator............. National network
4 ***b14** Destination point code........ 111 Dec
***b14** Originating point code........ 222 Dec
0001.... Signalling link selection..... 1 Dec
SCCP: Russian specifications, 2001
8 00001001 Message type.................. UDT
-- Protocol class
9 ....0000 Protocol class................ Class 0
1000.... Message handling.............. Return on error
10 00000011 Pointer....................... 3 Dec
11 00001110 Pointer....................... 14 Dec
12 00011001 Pointer....................... 25 Dec
13 00001011 Length........................ 11 Dec
-- Called party address
14 .......0 Point code ind................ PC absent
......1. SSN ind....................... SSN present
..0100.. Global title ind.............. Transl. type & Numb. plan & Enc. scheme
.0...... Routing ind................... Route on GT
0....... Reserved for national use..... 0 Hex
15 00000111 Subsystem number.............. VLR
16 00000000 Translation type.............. 0 Hex
17 ....0001 Encoding scheme............... BCD, odd number of digits
0001.... Numbering plan................ ISDN/Telephony Numbering plan
18 .0000100 Nature of address ind......... International number
0....... Spare......................... 0
19 ***b44** Address signal................ 79123456789
1111.... Filler........................ 15 Dec
25 00001011 Length........................ 11 Dec
-- Calling party address
26 .......0 Point code ind................ PC absent
......1. SSN ind....................... SSN present
..0100.. Global title ind.............. Transl. type & Numb. plan & Enc. scheme
.0...... Routing ind................... Route on GT
0....... Reserved for national use..... 0 Hex
27 00000110 Subsystem number.............. HLR
28 00000000 Translation type.............. 0 Hex
29 ....0001 Encoding scheme............... BCD, odd number of digits
0001.... Numbering plan................ ISDN/Telephony Numbering plan
30 .0000100 Nature of address ind......... International number
0....... Spare......................... 0
31 ***b44** Address signal................ 79123456780
1111.... Filler........................ 15 Dec
37 00011110 Length........................ 30 Dec
-- Data
TCAP: ITU-T Q.773 White book, 1997
-- Message type
38 ***b8*** TAG: class=1 code=4 type=1
39 ***b8*** Length........................ 28 Dec
-- END
40 ***b8*** TAG: class=1 code=9 type=0
41 ***b8*** Length........................ 4 Dec
-- Destination transaction id
42 ***B4*** .............................. 2000000 Hex
46 ***b8*** TAG: class=1 code=12 type=1
47 ***b8*** Length........................ 20 Dec
48 ***b8*** TAG: class=2 code=2 type=1
49 ***b8*** Length........................ 18 Dec
-- Return result last
50 ***b8*** TAG: class=0 code=2 type=0
51 ***b8*** Length........................ 1 Dec
-- Invoke id
52 00000001 Invoke id..................... 01
53 ***b8*** TAG: class=0 code=16 type=1
54 ***b8*** Length........................ 13 Dec
-- Result
55 ***b8*** TAG: class=0 code=2 type=0
56 ***b8*** Length........................ 1 Dec
57 00111010 Local operation code.......... SEND IMSI
MAP: 3GPP TS 29.002 Ver 6.12.0, 2005
-- Send IMSI res
58 ***b8*** TAG: class=0 code=4 type=0
59 ***b8*** Length........................ 8 Dec
-- IMSI
60 ***b20** Mobile country/network code... Unknown MCC + MNC code
***b44** MSIN.......................... 7912345678f
Remainder:
B7 85 |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
SwiftBlue Theme created by BitByBit
Powered by phpBB © 2001, 2002 phpBB Group
|