开发者

Create SMS gateway in .NET

开发者 https://www.devze.com 2023-02-26 17:45 出处:网络
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 segmen

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消