如何开发自己的短信网关?
我打算用 C# 开发一个 SMS 网关,但我对其可行性表示怀疑,因为我的初步研究表明 SMS 网关必须涵盖协议差异。
那么网关究竟需要做什么,如果我使用 SMPP,那么是否可以通过简单地使用 SMPP 向/从世界上的任何号码发送/接收短信?
I intend to develop an SMS gateway in c#, but i am doubtful about it's feasibility, because my initial research had shown that an SMS gateway had to cover for protocol differences.
So what exactly a gateway had to do, further if i use SMPP, so is it possible to send/receive SMS to/from any number in the world by simply using SMPP ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
“真正的”SMS 网关需要以正确的格式生成 SMPP 请求(是的,有多种类型,例如 CIMD 和 EMI),并将其分派到移动网络 SMSMC 进行发送。
您需要直接连接到您在后端使用的网络并与其签订合同。您能够发送到的国家/地区取决于网络提供商支持/允许的内容。
创建一个是很困难的昂贵,为什么不使用已经完成所有艰苦工作的短信聚合器,例如 http://www.clickatell。 com/。
A "true" SMS gateway will need to generate an SMPP request in the the correct format (yes there are several types like CIMD & EMI) and dispatch it to the mobile networks SMSMC for sending.
You would need a direct connection to, and contract with the network(s) you use on the back end. The countries you would be able to send to will depend on the what the network provider supports/allows.
Creating one is difficult & expensive, why not use an SMS aggregator who have already done all the hard work, for example http://www.clickatell.com/.
我对创建网关一无所知,但我相当确定,是否可以通过简单地使用 SMPP 向/从世界上的任何号码发送/接收短信的答案是否定的。一两年前,我查看了一些在线短信服务,以及我查看的所有服务,列出了可以/无法发送消息的网络/国家。
I don't know anything about creating a gateway but I'm fairly sure that the answer to so is it possible to send/receive SMS to/from any number in the world by simply using SMPP is no. I looked at a few online SMS services a year or two ago and all of the ones I looked at listed networks/countries where messages could/couldn't be sent to.