A project using gammu to handle sms lists.
Dependencies: sqlite3, gammu-smsd, python-gammu
On debian:
# apt-get install gammu-smsd python-gammu sqlite3 libdbi-dev libsqlite3-dev libdbd-sqlite3
If you want the webapp you also need:
# apt-get install python-bcrypt python-flask
Setting up the db:
$ cat sql/*.sql | sqlite3 smskrupp.db
Create the config file:
$ cp config.py.default config.py
Edit the config file so it points to the correct places.
For gammu to work you also need a gammu-smsdrc, there is an example file in the doc/ directory.
use smskrupp command to manage groups:
$ smskrupp add-group test t
$ smskrupp add-member 0731234567 member1 test
$ smskrupp add-member 0731234568 member2 test
$ smskrupp set-sender 0731234567 test
$ smskrupp list-members test
Now if you have gammu-smsd setup correctly you should be able to send a message from 0731234567 to the phone you've setup with gammu and it will deliver to all members in the group.
If your config.py points to a test-db and a test-smsdrc, simply run
$ nosetests