#Twilio Client Client upgrade.
Upgrade of Twilio Client Quicker Starter that covers new scenarios:
New config setting: callbackurl - set this to your internet reachable address - ngrok or localtunnel on your dev env, or heroku etc.
The source code and tutorial for the full system comes from the excellent Twilio Quickstart guide here: https://www.twilio.com/docs/quickstart/ruby/client . This is a great way to get a browser call going - you can use this app to make calls from the browser - to any browser or any phone number.
But, if you are feeling lazy, or in a hurry, you can use this source code to simply deploy to Heroku using the lovely Heroku Button.
You will need these after pressing the Deploy to Heroku button, so we will prepare by getting these values:
Now, you are ready to fearlessly Press the Heroku button. This will ask for some variables (see above), create a new Heroku app, and deploy this source code to Heroku.
You will be asked for a few parameters, all of which you have in hand from the previous steps.
You have a new Heroku app, it's live, in the cloud, and free as long as it's running on one dyno.
It should work to render the HTML BUT it WILL NOT WORK to dial a number until you complete the steps below, the "Post Heroku-deploy Twilio steps" .
Say the Heroku URL created was:
You will take that URL and go back into your Twilio account, and set update a few things
Just one more step! Take your new Heroku URL that you just created (for example http://funky-monkey-567.herokuapp.com) and:
Your Sir, or should I say Madam, have a Twilio softphone running in the browser.
Note.. anybody who knows this URL can just come to this page and start making calls.. which will charge your Twilio Account. So don't go tweeting about it, unless you want to subsidize such behavior.