根据所属组向用户组发送短信
首先我将简要解释一下我的要求。我想 我的用户分布在几个组中,比如 ABC、XYZ、 PQR...用户和组将通过网站进行管理...现在 我希望用户只需发送一条短信即可发送群组短信 任何数字都可以说 999。
因此,如果 ABC 组的用户发送短信到 999,则取决于哪个 他所属的组,消息应该自动发送给所有 该组的其他用户。
我不知道该去哪里问,该问谁以及我需要什么,所以最后决定在这里发布一个问题......
First of all I will explain in brief regarding my requirement. I want
my users to be distributed in couple of groups say ABC, XYZ,
PQR....The users and groups will be managed through a website.....Now
i want that a user can send group sms just by sending a single sms to
any number say 999.
So If a user of group ABC send an sms to 999 then depending on which
group he belongs, the messages should be sent automatically to all
other users of that group.
I have no clue where to ask, whom to ask and what will i require so finally decided to post a question here...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最简单的方法是获取 SMS 网关帐户,该帐户将提供通过 HTTP 接口发送 MT(传出)消息和接收 MO(传入)消息的方法。
搜索本网站;推荐短信网关。
MO 部分可能很昂贵,因此在低容量场景中的替代方案是使用托管 SIM 卡的 GSM 调制解调器来执行接收部分(当然您也可以使用它来发送)。
将用户与组匹配与此机制无关,并且将由一个简单的数据库管理。
The easiest way is to get an SMS Gateway account that will provide a way to send MT (outgoing) messages and receive MO (incoming) messages over an HTTP interface.
Search this site for; recommend sms gateway.
The MO part can be expensive, so an alternative in ~low volume scenarios is to use a GSM modem hosting a SIM card to do the receiving part (You can also of course use this to send).
Matching users to groups is unrelated to this mechanic and would be managed by a simple database.
这通常被称为“群组消息传递”,并且可以使用 SMS 网关(例如 Twilio)(我在其中)轻松构建工作)。 GroupMe,Betwext< /a> 和 Beluga 是流行的群组消息产品。
我在这里有一个用 ASP.NET MVC 编写的示例群组消息应用程序: http://www.twilio.com/blog/2010/04/howto-build-a-group-sms-application-with-aspnet-mvc.html 你可以这样写但是任何网络编程语言。
This is frequently referred to as 'group messaging' and can be very easily built using an SMS gateway like Twilio (where I work). GroupMe, Betwext and Beluga are popular group messaging products.
I have an example group messaging app written in ASP.NET MVC here: http://www.twilio.com/blog/2010/04/howto-build-a-group-sms-application-with-aspnet-mvc.html You can write this in any web programming language however.