Twilio 网站如何运作?
我只是不明白他们如何通过网站做到这一点。如何使用网络浏览器控制固定电话?
There is a good pitch from Twilio here.
I just don't get how they can do that with a website. How can you control a land line with a web browser?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
简短的回答:魔法蝴蝶。
更长的答案:Twilio 实际上并不直接从浏览器控制电话线。浏览器和手机之间有几个层。对于出站呼叫,其工作原理如下:
对于入站调用,它的工作原理几乎相反:
在每种情况下,魔法蝴蝶代表一个可扩展的云通信基础设施,用于处理所有复杂的事务发送/接收电话和短信所需的电话内容,这样您就不必担心 GET、POST 和 XML 之外的任何内容,这些内容是您作为 Web 开发人员每天使用的内容。
Twilio 如何进行语音通话概述
使用 Twilio 发送/接收短信
如果您对其工作原理有任何其他疑问,请告诉我。我在 Twilio 工作:)
Short answer: magic butterflies.
Longer answer: Twilio isn't actually controlling a phone line directly from the browser. There are a few layers between the browser and your phone. For outbound calls it works something like this:
For inbound calls, it works pretty much in reverse:
In each case, the magic butterflies represent a scalable cloud communications infrastructure that handles all the complicated telephony stuff required to send/receive calls and text messages so that you don't have to worry about anything beyond GET, POST and XML, the stuff you're used to working with every day as a web developer.
Overview of How Twilio Works for voice calls
Sending/Receiving SMS with Twilio
If you have any other questions about how it works, let me know. I work at Twilio :)
这是指向 Twilio 网站的更好链接。
他们使用他们的网站来销售服务。
他们使用互联网语音 (VOIP) 硬件或软件来交付他们的服务。
Here's a better link to the Twilio web site.
They use their website to sell the service.
They use voice over internet (VOIP) hardware or software to deliver their service.