sms server for ubuntu server
Emily Wong
I am not sure where to begin this one, but I would like to run an sms server on my ubuntu server. When my postgresql database is updated with a new record, the server should listen and take the phone number stored in the record, and send a text message to it. I'm not sure the best path to take to achieve this. Do I need to write my own server or do you use packages out there?
2 Answers
Here is one way of getting it done:
- INSTALL UBUNTU
REMOTE ACCESS
sudo apt-get install ssh
UPDATE AND UPGRADE/PATCH THE SERVER
sudo apt-get update && sudo apt-get upgrade
INSTALL GAMMU
sudo add-apt-repository ppa:nijel/ppa
sudo apt-get update
sudo apt-get install gammu
For complete instructions see Build your own SMS gateway with Ubuntu Linux and Gammu
For help, have a look at the manpage.
Source:Xaintech
1Take a look into Gammu - it's available in the main repositories and has wide support for most phones. It also supports SQL database backends (though you may need to structure your database in a way it will understand).
It can both send & recieve SMS messages as well as a whole host of other things.
3