localnation
New Member
- Joined
- Apr 29, 2011
- Messages
- 19
- Reaction score
- 0
This is the initial beta release of my PHP script for sending Google Voice SMS messages from a PIAF (Purple) (The Incredible PBX) server. Thanks to Nerd Uno for converting this script to a PIAF/FreePBX Module!
To install:
SSH or login locally to your PIAF server as root and issue the following commands:
Then you need to do two things:
(1) Edit /var/www/html/sms/index.php and add your Google Voice username and password credentials.
(2) Open the FreePBX GUI and go to Module Admin. Scroll down to the Third Party Addons section at the bottom and click on SMS Messaging. Then choose Install. Reload FreePBX when prompted.
SMS Messaging now will appear as an option on the Tools menu under Third Party Addons. You still will be prompted for your username and password (e.g. maint : password).
This script gives you a very simple webpage with two text boxes and some simple instructions. The first text box is for your list of phone numbers to send your SMS message to. The numbers should be separated by spaces, commas, or newlines and in the format NXXNXXXXXX. The second box is for your message, and will be truncated at 160 characters.
As I said, this is a very early beta version of the script and does not include database access, or Javascript input verification.
Future versions will include MySQLi access, and a more user-friendly UI.
Please respond with any feature requests for future versions.
To install:
SSH or login locally to your PIAF server as root and issue the following commands:
cd /
wget http://pbxinaflash.net/source/sms/sms.tgz
tar zxvf sms.tgz
amportal restart
service httpd restart
Then you need to do two things:
(1) Edit /var/www/html/sms/index.php and add your Google Voice username and password credentials.
(2) Open the FreePBX GUI and go to Module Admin. Scroll down to the Third Party Addons section at the bottom and click on SMS Messaging. Then choose Install. Reload FreePBX when prompted.
SMS Messaging now will appear as an option on the Tools menu under Third Party Addons. You still will be prompted for your username and password (e.g. maint : password).
This script gives you a very simple webpage with two text boxes and some simple instructions. The first text box is for your list of phone numbers to send your SMS message to. The numbers should be separated by spaces, commas, or newlines and in the format NXXNXXXXXX. The second box is for your message, and will be truncated at 160 characters.
As I said, this is a very early beta version of the script and does not include database access, or Javascript input verification.
Future versions will include MySQLi access, and a more user-friendly UI.
Please respond with any feature requests for future versions.