#Details for Tropo Alert This document is meant to describe the prework that will need to be done to enable the Tropo alerts within the IOTEventNotification.
##Step 1 - Sign up for Tropo To sign up for tropo, you must go to www.tropo.com and get an account. ##Step 2 - Create a new application
-
Log into tropo
-
From the Home page, select: "Applications"
-
Select: "My Apps->Create Application"
-
Enter a name under basic information
-
Select "Scripting API". For the purposes of this application, we ran the API on Tropo's servers because it is easier. However, you can always host the script on your own servers.
-
Select "New Script"
-
Enter the following script into the test editor
call("+1"+numberToDial, { network:"SMS"}); say(alertMessage); -
Press the save button
-
Associate the script to a phone number byt selecting a new phone number from the list. If you don't already have a phone number, you should create a new one.
-
Press Create App
##Step 3 - Associate the Script with your application
- Once your application is created, on the bottom of the page in the API Keys section, there will be a "messaging" key. Copy this key.
- Within the configuration file of the IOTEventNotification.py application, enter this key in the configuration field under the "tropo" section