0xhaven / ennyn-durin

Serverless Doors of Durin with Twilio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ennyn Durin

Serverless Doors of Durin with Twilio

Doors of Durin

Setup

  1. Create a Twilio Runtime function with the contents of validate.js (Optionally set a fallback number there)
  2. Upload your challenge MP3 to Twilio Runtime Assets or use you own hosting. Some are included in assets/.
  3. Upload speak-friend.twiml to a TwiML Bin with the right challenge URL and validate URL.
  4. Setup a number for Twilio Programmable Voice and under its Configure tab, set the "A call comes in" event to use TwiML, specifically the "Speak Friend" Bin you created.

Speak, friend, and enter.

About

Serverless Doors of Durin with Twilio


Languages

Language:JavaScript 100.0%