Hi Anders,
I guess you're away this week, so you'll read this when you're back... I hope you had a good holiday :-)
Your fix for UCS2 GSM SMS messages works. Thanks again.
There is another error that also produces the [Malformed Packet: GSM SMS] message, which I think is caused by
the SMS decoder over-running the end of the SCCP packet (but I haven't looked at the code).
The trace I sent you already contains examples of these decoding errors. As far as I can see, the error only
occurs with the SMS-STATUS-REPORT pdu carried on GSM MAP over M3UA.
What seems to be happening is that the SMS-STATUS-REPORT can have optional data at the end that is not present
in this trace, however the M3UA encapsulating protocol pads the packet to a 4-byte boundary. The
SMS-STATUS-REPORT decoder overruns the end of the SCCP packet and tries to decode these padding bytes and
produces the error message when it fails to do so. (at least that's what it looks like to me)
Thanks in advance,
/John.
-----Original Message-----
From: Anders Broman [mailto:a.broman@xxxxxxxxx]
Sent: Tuesday, August 02, 2005 11:32 PM
To: John Vincent
Subject: SV: [Ethereal-users] GSM MAP SMS decode
Hi,
I think I have "solved" the problem - [Malformed Packet: GSM SMS] part. The
text does not display though.
Brg
Anders
-----Ursprungligt meddelande-----
Fr�n: John Vincent [mailto:jpv@xxxxxxxxxxx]
Skickat: den 2 augusti 2005 17:08
Till: Anders Broman
�mne: [Ethereal-users] GSM MAP SMS decode
Hi Anders,
I attach a trace of GSM-MAP SMS using both UCS2 and 7-bit GSM alphabet,
carried on TCAP/SCCP/M3UA/SCTP/IP. The
trace was captured using tethereal's default format, and I've zipped it
using gzip, so it's not too big to
email.
Thanks for your interest.
/John.
>
>Hi,
>
>If you send me a trace I can try to have a look at the [Malformed Packet:
GSM SMS] part.
>
>Brg
>
>Anders
>