Hi If someone can help. I am calling "exec tethereal" in TCL WISH to
decode a Packet. e.g. /tmp/tmp.cap file is cap file with ITU Release
Complete Message (RLC) and following in the hexdump.
00000000h: A1 B2 C3 D4 00 02 00 04 00 00 00 00 00 00 00 00 ;
00000010h: FF FF FF FF 00 00 00 8D 00 00 00 00 00 00 00 00 ;
00000020h: 00 00 00 09 00 00 00 09 05 7F FB BD 8F 28 01 10 ;
00000030h: 00
I am Trying to use the -omtp3.itu_pc_structure:3-8-3 option to show the
OPC & DPC in 3-8-3 format. NOW THIS WORKS GREAT WHEN I CALL THE
FOLLOWING COMMAND FROM THE COMMAND LINE PROMPT.
########################################################################
bash2.03$: exec tethereal -r /tmp/tmp.cap -V -x -omtp3.standard:ITU
-omtp3.itu_pc_structure:3-8-3
Message Transfer Part Level 3
Service information octet
00.. .... = Network indicator: International network (0x00)
..00 .... = Spare: 0x00
.... 0101 = Service indicator: ISUP (0x05)
Routing label
.... .... .... .... ..11 1011 0111 1111 = DPC: 15231 (7-111-7)
.... 1111 1011 1101 11.. .... .... .... = OPC: 16119 (7-222-7)
1000 .... .... .... .... .... .... .... = Signalling Link
Selector: 8
ISDN User Part
CIC: 296
Message type: Release complete (16)
No optional parameter present (Pointer: 0)
0000 05 7f fb bd 8f 28 01 10 00
########################################################################
HOWEVER WHEN I CALL THE SAME COMMAND IN TCL WISH - IT DOESN'T SHOW THE
OPC & DPC in 3-8-3 format. But Show the Unstructured.
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
%set mtp3option {-omtp3.standard:ITU -omtp3.itu_pc_structure:3-8-3}
%set tmpPcapFile /tmp/tmp.cap
%set ok [catch {set result [exec tethereal -r $tmpPcapFile -V -x
$mtp3option ]} errmsg]
%set result
Message Transfer Part Level 3
Service information octet
00.. .... = Network indicator: International network (0x00)
..00 .... = Spare: 0x00
.... 0101 = Service indicator: ISUP (0x05)
Routing label
.... .... .... .... ..11 1011 0111 1111 = DPC: 15231
.... 1111 1011 1101 11.. .... .... .... = OPC: 16119
1000 .... .... .... .... .... .... .... = Signalling Link
Selector: 8
ISDN User Part
CIC: 296
Message type: Release complete (16)
No optional parameter present (Pointer: 0)
0000 05 7f fb bd 8f 28 01 10 00
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
CAN ANYONE PLEASE GIVE ME A POINTER???
Thanks
JST
Received on Thu Sep 29 14:35:14 2005