Twilio: Difference between revisions
Brian Wilson (talk | contribs) Created page with "== Take aways from Signal Conference == === Move stuff into Asterisk === Lots of stuff in Twilio space could be implemented in Asterisk space ie TWIML could be used to desig..." |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
== Take aways from Signal Conference == | == Elastic Trunk + Asterisk == | ||
This is nothing to do with elephants or the back part of a sedan or rubber bands. | |||
Refer to https://www.twilio.com/docs/api/sip-trunking/sample-configuration | |||
and https://www.twilio.com/resources/images/docs/Asterisk-Twilio.pdf | |||
"Elastic" means you are not limited to a preset number of calls with one SIP account. | |||
You can make any number of outbound and accept any number of inbound calls over the one account; | |||
you just have to pay for the calls. | |||
The price for a single phone number is $1 per month. | |||
The rate for calls is about a penny a minute. | |||
=== Set up on Twilio account === | |||
# Go to http://twilio.com/ | |||
# Create an account if you don't have one | |||
# Buy a phone number | |||
# Attach the number to a trunk, the account comes with one trunk. | |||
Access is controlled via IP address. | |||
You have to create an access control list for your Asterisk server and put its IP address into it. | |||
=== Modifications to Asterisk === | |||
extensions.conf | |||
sip.conf | |||
== Take aways from Signal Conference 2015 == | |||
=== Move stuff into Asterisk === | === Move stuff into Asterisk === |
Revision as of 04:38, 6 November 2015
Elastic Trunk + Asterisk
This is nothing to do with elephants or the back part of a sedan or rubber bands. Refer to https://www.twilio.com/docs/api/sip-trunking/sample-configuration and https://www.twilio.com/resources/images/docs/Asterisk-Twilio.pdf
"Elastic" means you are not limited to a preset number of calls with one SIP account. You can make any number of outbound and accept any number of inbound calls over the one account; you just have to pay for the calls.
The price for a single phone number is $1 per month. The rate for calls is about a penny a minute.
Set up on Twilio account
- Go to http://twilio.com/
- Create an account if you don't have one
- Buy a phone number
- Attach the number to a trunk, the account comes with one trunk.
Access is controlled via IP address. You have to create an access control list for your Asterisk server and put its IP address into it.
Modifications to Asterisk
extensions.conf
sip.conf
Take aways from Signal Conference 2015
Move stuff into Asterisk
Lots of stuff in Twilio space could be implemented in Asterisk space
ie TWIML could be used to design IVR / autoattendant systems in Asterisk. Doing this could make it easy to implement a failover, primary would be Asterisk but if * is down then the same code would fire up and run in Twilio.
What Twilio is doing
What Twilio is doing is building a big company by (1) doing only the back end, no applications. They provide only APIs and you write your own applications. (2) Using cloud. Everything they do lives in Amazon. Based on that there must be some backend to connect to carriers that does not require anything but IP. :-) That is, they don't have big server rooms full of HT503's
They have that big giant corporation mentality. But they do make their services available to little fleas like us. I can buy one phone line for $1 a month.
What does it take to build a basic PBX in the cloud?
- Set up SIP phone and provision it
- Give the SIP phone an extension
- Allow VOIP extensions to call each other
- Set up a receptionist line
- Create an after hours autoattendant
- Voicemail
- Tracking usage of extensions at receptionist station
Now that I have a PBX, how can I extend it?
- SMS support
- WebRTC
- Text to Speech
- Speech to Text
- Presence detection
- Softphones
- Mobile softphones