我如何设计短信服务? [英] How do I design sms service?

查看:191
本文介绍了我如何设计短信服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计一个可以发送和接收短信的网站.

I want to design a website that can send and receive sms.

  1. 我应该如何解决这个问题?
  2. 有哪些可用资源?
  3. 我知道php,python还需要什么,还是有更好的选择?
  4. 如何仅使用我的电脑进行实验?[类似localhost]
  5. 为此提供哪些良好的托管服务?
  6. [添加您能想到的更多问题吗?]

推荐答案

您可以查看 Kannel .使用它创建SMS服务非常简单.只需定义一个关键字,然后将传入的SMS请求路由到该URL(您将在查询字符串参数中获得诸如手机号码和SMS文本之类的信息),然后生成您的Web脚本生成的任何输出(您可以使用任何网页脚本/语言/平台)都将发送回给发件人.

You can take a look at Kannel. It's so simple to create SMS services using it. Just define a keyword, then put in the URL to which the incoming SMS request will be routed (you'll get the info such as mobile number and SMS text in query string parameters), then whatever output your web script generates (you can use any web scripting/language/platform) will be sent back to the sender.

测试很简单.您可以使用自己的PC,仅使用fakesmsc"SMS中心",然后将其发送给HTTP请求.如果您有GSM调制解调器,也可以利用调制解调器的AT命令集来使用它.

It's simple to test. You can use your own PC and just use the fakesmsc "SMS center" and just send it HTTP requests. If you have a GSM modem you can use that too, utilising the modem's AT command set.

这篇关于我如何设计短信服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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