为电话或短信创建服务器

发布于 2024-12-01 16:05:28 字数 344 浏览 7 评论 0原文

这是我最新的项目,其中包括为电话和短信制作服务器。我想做一些像 google talk 这样的事情,人们可以通过互联网拨打电话和接听电话,甚至发短信。

我将能够连接固定电话,甚至只是麦克风,然后拨打我的手机并通话。否则,只需通过互联网向我的手机发送短信也很棒。

任何参考或指南将不胜感激。

注意:

是的,我知道有些网站可以做这些事情。不是我要问的。 我在家安装了 Windows Server 2008 r2。 我认为我是一个不错的程序员,如果我知道我应该寻找什么,就足以能够编写这个程序。 不要告诉我这是不可能的,因为不久前我看到了允许通过互联网拨打电话的USB硬件(我知道它比这更复杂,但我想了解这些知识)

This is my newest project which consists of making a Server for phone and sms. I would like to do something like google talk where one would be able to make calls and receive calls or even text through the internet.

I would than be able to connect a land line phone or even just a microphone and call my cellular and talk. Otherwise just sending a sms message through the internet to my cell would be awesome as well.

Any Reference or guides would be much appreciated.

Notes:

Yes I know there are websites that do these things. Not what I am asking.
I got a Windows Server 2008 r2 setup at home.
I think I am a decent programmer, enough to be able to program this if I have some clue what I should be searching for.
Do not tell me it is impossible, as not too long ago I saw usb hardware that allowed to make calls over the internet (I know it's more complicated than that but I want to have this knowledge)

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

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

发布评论

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

评论(3

绻影浮沉 2024-12-08 16:05:28

好的,正如其他人已经建议的那样,Asterisk 是最明显的方法之一。不久前,我们创建了一个在线解决方案,它允许您描述的大部分功能,VoIP 呼叫、拨号计划生成、PBX、固定电话连接、短信发送、付款。

使用的工具:
- LAMP(linux、apache、mysql、php)
- 星号
- OpenSer (http://en.wikipedia.org/wiki/OpenSER)
- 短信发送的第 3 方
- 第 3 方进行计费。

Okay, as others have already suggested, Asterisk is one the most obvious ways to go. Some time ago we created an online solution which allows most of the things that you have described, voip calling, dial plan generation, pbx, connection with landlines, sms sending, payments.

Tools used:
- LAMP (linux, apache, mysql, php)
- Asterisk
- OpenSer (http://en.wikipedia.org/wiki/OpenSER)
- 3rd party for SMS sending
- 3rd party for billing.

四叶草在未来唯美盛开 2024-12-08 16:05:28

对于电话,您有两种选择:

  1. 不购买硬件和使用 VoIP。您可以使用一些 voip 来固定线路网关。有很多方法可以实现这一目标。最“专业”的就是购买号码:http://www.voip-info.org/wiki/view/DID+Service+Providers" rel="nofollow">http://www.voip-info.org voip-info.org/wiki/view/DID+Service+Providers。但还有其他方法,例如使用 Skype api。
  2. 第二个选项是使用特殊硬件将服务器连接到固定电话 - http://www.voip-info。 org/wiki/view/FXO

也许最有趣的部分是编写 webgui,因为编写 PBX 部分可能有点棘手。您应该考虑使用 Asterisk(免费、开源)- Linux 或 3CX(非免费)- Windows。

关于短信:

  1. 您可以使用短信网关,即: http://www.clickatell.com/
  2. 您可以购买 gsm调制解调器连接到您的服务器

For phone you have two options:

  1. not buying hardware and use voip. You can use some voip to land line gateways. There are many ways for achieving that. The most "professional" would be buying did number: http://www.voip-info.org/wiki/view/DID+Service+Providers. But there are other ways for example using skype api.
  2. second option is connecting server to landline using special hardware - http://www.voip-info.org/wiki/view/FXO

Probably the funniest part would be writing webgui since writing PBX part could be little tricky. You should consider using Asterisk (free, Open Source) - Linux or 3CX (non-free) - Windows.

Regarding sms:

  1. You can use sms gateway i.e.: http://www.clickatell.com/
  2. You can buy gsm modem to your server
你怎么敢 2024-12-08 16:05:28

对于 SMS 部分,有 SMSLib (http://smslib.org/),您可以在其中使用连接的电话发送和接收 SMS。
您可以提供一个网络界面来编写和读取短信,当然,这将是更容易的部分。

对于调用我不知道,但应该也是可能的。我知道有用于 arduino 等的 GSM 芯片,但我想很难将它们重新路由到服务器上的应用程序。不过,可能只需短暂的延迟即可实现。
另一种选择是查看VOIP 库,例如Asterisk (http://www.asterisk.org)。

For the SMS part there is the SMSLib (http://smslib.org/), where you can use an attached phone to send and receive SMS.
You could provide a webinterface to write and read the SMS then of course, that would be the easier part.

For the calling I don't know, but it should be possible too. I know there are GSM chips for e.g. arduino but I guess it is very hard to reroute them to the application on the server. It could be possible with a short delay though.
Another option is to look into a VOIP library, e.g. Asterisk (http://www.asterisk.org).

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