Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

itsahappymedium/holiday-hotline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Happy Medium's Holiday Hotline

Happy Medium's Holiday Hotline was built in 2014 as a fun project using the Twilio API.

Demo

Call the following number to see how it works:

515-532-5541

Setup

To get the hotline running on your own machine or server, fork it and clone it to your local machine.

Navigate to your local version, and install dependences from both PHP Composer and NPM:

$ composer install
$ npm install

Deployment

To deploy your server, you can set the deployment path on lines 18 and 19 of Gruntfile.js (be sure you have SSH access), and run:

$ grunt deploy

The next step is to tell Twilio that you want to use the endpoint on your new server for Voice calls.

Let's assume you've deployed your hotline to http://hotline.yoursite.com/hotline.php. Create an account on Twilio and find your Numbers section.

Click on the phone number given to you after having created an account, and update the Voice Request URL to match the URL of your deployed hotline.

Then, give your Twilio phone number a ring, and see what happens!

Note: In order to get rid of the demo message at the beginning of every call, you'll want to upgrade to a paid plan.

About

Happy Medium's Holiday Hotline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published