A burner phone application powered by Nexmo
Codebase for Team 2, winner of 2018 VINE Innovation Challenge
Kasey McFadden, Christine Mauro, Matthew Lu, Regine Lewis, Ashna Momin
cd /path/to/repository/spot
git clone https://github.com/km-vonage/burner.git
pip install -t /path/to/burner -r requirements.txt
Create a new Lambda function > Author from scratch
Basic information
Name: burner
Runtime: Python 3
Lambda function code
Code entry type > Upload a .ZIP file
Upload > Compress and upload this cloned repository: burner.zip
Lambda function handler and role
Handler: interact.lambda_handler
Role > Choose an existing role: IPA-Lambda
Advanced settings
Memory: 128 MB
Timeout: 6 sec
Edit swagger file: open burner-swagger.json > specify your AWS host ("host", line 7)
Import from Swagger > Select Swagger File: burner-swagger.json
Import
Set up methods for /auth, /auth/code, /interact, and /notifications:
Integration type: Lambda Function
- Use Lambda Proxy integration
Lambda Region: same region as Lambda Function
Lambda Function: burner
Save
Select Actions > Deploy API > Deploy
In the Stage Editor interface, take note of the Invoke URL.
Use the commands in the burner.ddl
file to create a new database with a table titled 'clients'.
Your 'clients' table will look something like this once users have registered for burner:
id | credentials |
---|---|
12345678999 | google-creds |
19876543210 | encoded-creds |
Once you've registered for an account and have received a virtual number, edit your number.
Webhook URL: https:// INVOKE-URL /interact
Ignore the voice options - these do not matter for our project.
Create a new Watson Conversation Workspace by importing a workspace.
Choose watson_workspace.json and select Import Everything (Intents, Entities, and Dialog).
View the details of your imported workspace and take note of the Workspace ID.
Grab your Watson Conversation Service Credentials and keep track of these values.
A project by Kasey McFadden, overseen by Murali Ramsunder, inspired by Bismarck Paliz