处理传入短信的最佳方式是什么?

发布于 2024-07-05 10:25:05 字数 125 浏览 6 评论 0原文

我有一个客户想要一个解决方案,允许送货人员发送短信(短信),因为他们已经在特定位置完成了取货。 我正在寻找的是读取入站短信或短信组件(如果适用)的代码。 这将允许我创建一个 Windows 服务来读取消息并相应地更新 SQL 记录。

I have a client who wants a solution to allow delivery people to text (SMS messaging) in that they have completed a pick up at a particular location. What I'm looking for is Code to read an imbound SMS message or a SMS component if appropiate. This would allow me to create a windows service to read the message and update a SQL record accordingly.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

書生途 2024-07-12 10:25:05

谢谢卢克,我更多地考虑的是连接到服务器的 GSM 调制解调器。 我认为这会提供更多的控制权,而不是通过第三方,但我同意你的观点并将进一步调查。

Thanks Luke, I am thinking more of a GSM modem which would be connected to the server. I think this would give more control rather than go through a third party, but I take your point and will investigate further.

笑红尘 2024-07-12 10:25:05

可能不完全是您想要的,但一种方法是使用像 iTagg 这样的网关,它提供了许多开发人员发送和接收短信/彩信等的接口。根据您所在的位置,iTagg 可能没有用,但我确信您所在的地区会有等效的产品。

Probably not quite what you're looking for but one approach is to use a gateway like iTagg which provides a number of interfaces for developers to send and receive SMS/MMS etc. Depending on your location, iTagg may be no use but I'm sure there'll be an equivalent for your region.

我ぃ本無心為│何有愛 2024-07-12 10:25:05

不久前,我使用 GSM 调制解调器实现了类似的功能。 我认为大多数 GSM 调制解调器都提供可用于接收和发送 SMS 消息的 AT 命令。 当时,我使用了 Java 中的一个库,它提供了易于使用的 API。 读取和发送 SMS 的命令确实很简单,但我敢打赌 .Net 中有一些用于此目的的东西可以使任务变得更加容易。

我做了一些搜索,发现了这个 文章,其中包含使用 AT 命令与 GSM 手机交互的示例。 我查看了提供的源代码,它包含一个包含与 SMS 相关的操作的库。

在我之前的项目中,我使用了带有 RS232 接口的西门子 GSM 调制解调器。 它不是很昂贵,并且能够管理放置在车辆中的车载单元发送的所有消息。 但如果您有一部未使用的手机,它也可以工作。

Sometime ago I implemented something similar using a GSM modem. I think most of the GSM modems offer AT commands that can be used for receiving and sending SMS messages. At the time, I used a library in Java that provided a easy to use API. The commands to read and send SMS are really easy but I bet there is something in .Net for that purpose that can make the task even easier.

I made a little search and I found this article with an example of using AT commands to interact with a GSM phone. I looked into the supplied source and it includes a library with operations related to SMS.

In my previous project I used a Siemens GSM modem with a RS232 interface. It wasn't very expensive and was able to manage all the messages sent by onboard units placed in vehicles. But if you have a unused phone it can work as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文