So what we did to trace Camel over Sigtran with wireshark. As I mentioned in my previous post, we have connected a dedicated linux ‘sniffer’ machine to a port on a switch with port mirroring enabled for the Sigtran port. If you plan to run the traces on a windows machine – install an X server, I have been recommended Xming Server. Then you enable SSH X11 forwarding in your putty session, login to the machine – type wireshark, choose the appropriate interface to capture and you are ready to go. For me the capture did not decode the packets at first – all I got were SCTP packets and the trace did not go beyond that. To get the capture to decode Camel I had to change some Protocol settings in the preferences menu window (Edit->Preferences). First M3UA Version was changed to RFC 3332, then Camel TCAP SSN was changed to 146. After applying the changes the capture properly decoded Camel packets.
Example of initialDPSMS packet:
No. Time Source Destination Protocol Info
324 2009-01-30 17:52:21.464283 2660 3406 Camel invoke initialDPSMS
Frame 324 (278 bytes on wire, 278 bytes captured)
Ethernet II, Src: HuaweiTe_db:c8:e8 (00:e0:fc:db:c8:e8), Dst: HuaweiTe_db:d2:7b (00:e0:fc:db:d2:7b)
Internet Protocol, Src: 10.10.100.17 (10.10.100.17), Dst: 10.10.100.16 (10.10.100.16)
Stream Control Transmission Protocol, Src Port: 4010 (4010), Dst Port: 4000 (4000)
MTP 2 User Adaptation Layer
Message Transfer Part Level 3
Signalling Connection Control Part
Transaction Capabilities Application Part
Camel
invoke
invokeId: present (0)
present: 0
opcode: local (0)
local: initialDPSMS (60)
InitialDPSMSArg
serviceKey: 15
destinationSubscriberNumber: 8105617588F7
callingPartyNumber: 918427090000F0
1... .... = Extension: No Extension
.001 .... = Nature of number: International Number (0x01)
.... 0001 = Number plan: ISDN/Telephony Numbering (Rec ITU-T E.164) (0x01)
Address digits: 48729000000
Country Code: 48 Poland length 2
eventTypeSMS: sms-CollectedInfo (1)
iMSI: 62009195006930F0
TBCD digits: 260019590096030
locationInformationMSC
vlr-number: 918406010011F0
1... .... = Extension: No Extension
.001 .... = Nature of number: International Number (0x01)
.... 0001 = Number plan: ISDN/Telephony Numbering (Rec ITU-T E.164) (0x01)
Address digits: 48601000110
Country Code: 48 Poland length 2
cellGlobalIdOrServiceAreaIdOrLAI: cellGlobalIdOrServiceAreaIdFixedLength (0)
cellGlobalIdOrServiceAreaIdFixedLength: 62F0102AFEA3E0
sMSCAddress: 918406010013F0
1... .... = Extension: No Extension
.001 .... = Nature of number: International Number (0x01)
.... 0001 = Number plan: ISDN/Telephony Numbering (Rec ITU-T E.164) (0x01)
Address digits: 48601000310
Country Code: 48 Poland length 2
timeAndTimezone: 0290100371755140
tPShortMessageSpecificInfo: 11
tPProtocolIdentifier: 00
tPDataCodingScheme: 00
tPValidityPeriod: FF
smsReferenceNumber: 00C03B083264CBE8
mscAddress: 918406010011F0
1... .... = Extension: No Extension
.001 .... = Nature of number: International Number (0x01)
.... 0001 = Number plan: ISDN/Telephony Numbering (Rec ITU-T E.164) (0x01)
Address digits: 48601000110
Country Code: 48 Poland length 2