Skip to content

stefanjudis/podbot-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PodBot functions

aka how to control Twilio voice calls with Serverless functions

This repository is the base of the Twilio tutorial How to control and record voice messages with Node.js serverless functions TODO

It includes three serverless functions in the functions directory. You can use these locally by running only one command. Have fun! 👋

TwiML flow for Twilio voice calls

Getting started

$ git clone git@github.com:stefanjudis/podbot-functions.git
$ cd podbot-functions
$ npx twilio-run

After running twilio-run three functions will be accessible publicly.

Accessible function endpoints in the terminal

Head over to your Twilio Console and configure one number to call your local ngrog /call-enter/ endpoint when a call comes in.

Twilio console for number configurationw with one configured webhook to use local functions

And that's it. Hit "save" and call your Twilio number. ☎️ You'll see CallSid, RecordingUrl and TranscriptionText logged to your terminal. The three provided functions will be ready for you tweak and change according to your needs. 🎉

Logs of CallSid, RecordingUrl and TranscriptionText


For further information on how to use this project and build function driven phone calls check the tutorial.

About

How to control Twilio voice calls with Serverless functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published