I want to develop an SMS gateway in .NET, using PDU encoder/decoder classes. It's working fine for me, but the problem is receiving multipart SMS messages. I want to handle these messages with segmentation and reassembly, like Ozeki SMS gateway. Ozeki SMS gateway stores every multipart SMS in a file; I want to do the same thing.
If anyone has any experience in handling incoming multipart SMS messages, I would appreciate any explanations o开发者_如何学编程r examples of how to implement this. Thanks in advance for any help.
These are called Concatenated SMS, information about sequence/total/current parts is available in the PDU UDH header of each incoming message part.
You would cache each incoming message then reassemble them when the final one is received.
精彩评论