New Module - SMS Text Messaging Gateway

therave - October 30, 2005 - 13:57

I would like to announce the first release of the SMS Gateway module. This module adds SMS (Short Message Service) texting capabilities to Drupal, so allowing the sending of messages to and the reception of messages from mobile phones.

The current module provides settings, self-test and log pages, but in itself it provides no user-interface to send or receive messages, just adds functions that can be called to allow other modules to send messages. It also provides a hook method that allows modules to be informed of received messages.

It currently supports one service provider (Clickatell) and one protocol (HTTP). However it aims to allow other messaging service providers to be integrated easily via a pluggable service provider API. Those who already have, or would like to develop, support for other messaging providers or protocols are encouraged to contribute.

Finally, I am new to PHP/Drupal development and would welcome a security review of the module from anyone who is willing to spare the time - I am particularly concerned about the validation of URL parameters and posted variables.

The module can be downloaded from the Drupal.org project page and additional information can be found at my history and updates page.

it works

rmarioni - November 3, 2005 - 23:12

looks good and it works. Trying now to integrate this SMS modul with other modules and to customize the SMS message to be sent. I think this would be interesting to integrate with the simplenews module to have both alerts for newsletters and SMS.

i have to dig deeper on doing this.

Phone number storage

therave - November 4, 2005 - 13:30

That's a good point. Most useage of the system from a Drupal POV will require the user's phone number to be part of their profile. It would make sense to add that functionality in some central place - either to the module of as an additional module.

I hadn't addressed that before because the initial project that I was using it for held separately stored destination numbers.

Guess it would be worth looking at the 'Asterisk Integration', 'Mailalias' or 'Imood' modules for profile extension ideas.

David Hamilton
http://www.jiffle.net/

 
 

Drupal is a registered trademark of Dries Buytaert.