Skip to content

Instantly share code, notes, and snippets.

View nickmalcolm's full-sized avatar

Nick Malcolm nickmalcolm

View GitHub Profile
@nickmalcolm
nickmalcolm / AWSLambdaSimpleVoice.js
Last active October 8, 2023 06:18 — forked from stevebowman/AWSLambdaSimpleSMS.js
AWS Lambda Function to make Voice calls via the Twilio API
// 2016 MIT licence. Nick Malcolm.
// Based on https://gist.github.com/stevebowman/7cff9dd80b227c899728
// Makes a call using Twilio's API.
// Expects the following Lambda environment variables:
// TWILIO_ACCOUNT_SID - your account ID
// TWILIO_AUTH_TOKEN - an auth token generated in the Twilio console e.g. ABCD1234
// TWILIO_FROM_NUMBER - the number you've purchased to make calls from e.g. +14243700000
// We'll call this number