Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 683 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 683 Bytes

doorbell

🔔

set up

notes for myself when I have to deploy this again

env file

export IPHONE=iphone number
export TWPHONE=fake twiio number
export SID=twilio sid
export TOKEN=twilio token
export NAME=name of heroku app
export PORT=whatever

twilio number

set up a twilio number, and set its voice request URL to <NAME>.herokuapp.com/call. also make sure it's a GET request! this just returns xml ("twiml")

heroku notes

i skipped all that buildpack business here, so you need to go build ./... before pushing to heroku.

reference

borrowed heavily from https://www.twilio.com/blog/2014/10/making-and-receiving-phone-calls-with-golang.html