English 中文(简体)
How does the Twilio website work?
原标题:
  • 时间:2010-08-06 05:27:51
  •  标签:
  • 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?

最佳回答

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:

  • Web Browser makes requests to...
  • Back-end server technology (like PHP/ASP.NET/Rails/etc) makes requests to...
  • Twilio REST API which dispatches...
  • Magic butterflies to connect the call to...
  • The person being called using...
  • A URL you specify to direct the call using simple TwiML/XML

For inbound calls, it works pretty much in reverse:

  • A caller is connected to...
  • Magic butterflies which do their thing and make...
  • A HTTP POST request made to the a URL you specify using a...
  • Back-end server technology that returns TwiML/XML back to Twilio
  • Magic butterflies handle translating TwiML into actions sent back to the caller

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 :)

问题回答

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.





相关问题
Rails 3 XML Builder / Twilio API

This Twilio API Sample code isn t working in Rails 3: #voice_controller.rb def reminder @postto = BASE_URL + /directions respond_to do |format| format.xml { @postto } end ...

Using twimlets in a Twilio Play verb

I thought it I could specify any URL - including the twimlets used in conference calls - in the Play verb of a TwiML file. However, the following does not work... http://twimlets.com/holdmusic?Bucket=...

Twilio - how do they send/receive SMS

I m interested to find out how twilio s SMS sending/receiving feature works, on long codes, or local numbers Outside of the states, mobile originated SMS terminated on a long number is very common, ...

400 bad request from twilio s REST API using twilio-ruby

I m trying to get started with Twilio s REST API using the rubygem twilio-ruby, and I ve hit a snag. Here s my code: h = {:From => "123-123-1234", :To => "123-123-1234", :Body => "hey"} ...

How does the Twilio website work?

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?

Django | twilio to send SMS

I m using twilio as for a mobile verification mechanism, I have no prior experience in using twilio but looking at the sample PHP code I used this one in my code but apparently it s giving me an 400 ...

IVR vs Asp.net MVC: How can I stop reinventing the browser?

I m making an IVR system for a project, and have decided on Twilio to handle the phone portion (making and receiving calls, sending and receiving SMS messages). This will surface a website with an IVR ...

热门标签