使用GSM调制解调器接收短信 [英] Receiving SMS with GSM modem

查看:157
本文介绍了使用GSM调制解调器接收短信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我读到GSM调制解调器每分钟最多只能接收30条短信.如果您需要获得更多的收益,该怎么办?还有另一种技术吗?

解决方案

我认为您可能想要与

受欢迎的聚合器是:

如果您没有自己的平台来管理SMS交互,则可以使用聚合器自己的平台来安装自己的SMSC网关.一些SMSC是:

  • Kannel -开源,很难安装和管理.
  • NowSMS -商业软件.功能强大,仅Windows,易于使用的SMPP集成,并具有30天的免费版本.允许GSM调制解调器,HTTP和SMPP集成.这些选项中最昂贵的选项,但定价基于您希望每秒发送/分钟的消息数量,因此,如果您不打算发送很多消息而仅接收它们,那么这可能是一个可行的选择.有一种更便宜的版本,您可以使用一个GSM调制解调器(移动电话)连接到带有USB电缆的计算机,但是由于您只有一个GSM调制解调器,而没有聚合器,因此您的设备可以接收入站SMS的速度受到限制.
  • Ozeki -商业软件.现有大量文档,支持团队反应迅速.您可以使用HTTP或SMPP添加本地GSM调制解调器或聚合器.

I read that a GSM modem can only receive up to 30 SMS per minute. What would you do if you need to receive more than that? Is there another technology?

解决方案

I think you might want something different to those answers listed at What are the best practices for building an SMS server

If you just have one service that is running where you want to receive many SMS then it would be most cost effective (and simplest) to avoid integrating with a mobile network operator and instead use a SMS aggregator. These often call themselves SMS gateways, but they are independent companies and not a mobile network operator's gateway.

An SMS aggregator acts as a middle man between you and the networks - they have agreements with many network operators and this interconnection means you can link with one aggregator and get access to almost every network in the world.

Aggregator's usually advertise for outbound SMS (where you are sending an SMS from your application to a user), but they all offer inbound SMS as well. Depending on your country you could opt for a premium number or free to receive number. A premium number would mean that the person sending the text message would pay extra money to send you a message - you may want this for a commercial service in order to bill the user. A premium number would also mean you receive a share of the money the user paid to send you the text message. A free to receive number would not cost the person sending the text message anything more than it would normally cost for them to send an SMS. Almost all aggregators will charge you a monthly rental for a free to receive inbound telephone number, but no additional charge per message received.

You can expect to integrate with an aggregator using HTTP or SMPP. HTTP is usually the easiest and the aggregator will want to know where to send the HTTP post when a message is received on your telephone number. Therefore you will need some sort of service that is running to receive the HTTP post from the aggregator, and possibly a way to reply to the user by sending another HTTP post back to the aggregator asking them to forward a message to the user confirming receipt of the inbound SMS message. SMPP is a more robust protocol and is often used for high volume SMS applications - unless you already have SMPP experience or are sending many hundreds of thousands of messages you may want to avoid SMPP as it is difficult to implement until you have a lot of experience with SMS.

Some aggregators will provide their own platform where you don't need to have your own service running. For example you could setup a simple "autoresponder" on an aggregators website, this would receive the inbound message from the user, then autopmatically respond with a "thank you message". All interaction is done by the aggregator and you can log on periodically to download statistics or look at the messages people have sent.

Popular aggregators are:

If you do not have your own platform for managing the SMS interaction then either use the aggregator's own platform of install your own SMSC gateway. Some SMSC's are:

  • Kannel - Open Source, fairly difficult to install and manage.
  • NowSMS - Commercial software. Powerful, windows only, easy to use SMPP integration and has a 30 day free version. Allows GSM modems, HTTP and SMPP integration. Most expensive of these options but pricing is based on number of messages you want to send OUT per second / minute so if you're not planning on sending many out and only receiving them maybe this would be a viable option. There's a cheaper version where you can use one GSM modem (mobile phone) connected to a computer with a USB lead but as you will only have one GSM modem and no aggregator's you are limited to the speed at which your device can receive inbound SMS.
  • Ozeki - Commercial software. Lots of documentation available and the support team are very responsive. You can add local GSM modems or aggregator's using HTTP or SMPP.

这篇关于使用GSM调制解调器接收短信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆