- Create a Twilio Runtime function with the contents of
validate.js
(Optionally set a fallback number there) - Upload your challenge MP3 to Twilio Runtime Assets or use you own hosting. Some are included in
assets/
. - Upload
speak-friend.twiml
to a TwiML Bin with the right challenge URL and validate URL. - 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.