SMS Twilio Outgoing Gateway
Version: 1.0
License: MIT
Dependencies: perl libjson-perl curl
This Action Script will send messages to Twilio as SMS text messages. You will need a Twilio account. They have a free trial you can experiment with.
Example configuration line to SMS texts for messages in the SMS channel or that have the #sms hashtag from Mesh Chat:
SMS:*:/home/pi/meshchat_twilio_sms_out:30 *:sms:/home/pi/meshchat_twilio_sms_out:30
Script download: https://s3.amazonaws.com/aredn/action_scripts/meshchat_twilio_sms_out
Installation commands:
wget https://s3.amazonaws.com/aredn/action_scripts/meshchat_twilio_sms_out -O /usr/local/bin/meshchat_twilio_sms_out chmod +x /usr/local/bin/meshchat_twilio_sms_out
Edit /etc/meshchat_actions.conf and add a config line for the messages you want to match.
Edit the variables at the top of the script to add your Account / API keys for Twilio, phone numbers, etc.