On 02/28/2013 01:49 PM, Craig Ringer wrote: > Hi all > > Here's a simple action module to send SMS alerts to the user's > PagerPhone. >
I've found the time to package this as RT::Extension::SMSNotify and document it. It's released under the Perl license on CPAN: http://search.cpan.org/~ringerc/RT-Extension-SMSNotify/lib/RT/Extension/SMSNotify.pm <http://search.cpan.org/%7Eringerc/RT-Extension-SMSNotify/lib/RT/Extension/SMSNotify.pm> The module requires SMS::Send from CPAN and at least one SMS::Send driver like SMS::Send::RedOxygen. Sources for RT::Extension::SMSNotify here: https://github.com/2ndQuadrant/rt-extension-smsnotify-perl This version is a lot more flexible. You can plug in a custom function in your RT_SiteConfig.pm to look up the phone number for a user, so you can do LDAP or database queries, make phone number returns conditional based on the user's time zone, etc. Selection of recipients is done via action arguments instead of being hardcoded to queue and ticket admincc, too. Any comments/fixes/improvements would be valued. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
-- RT training in Amsterdam, March 20-21: http://bestpractical.com/services/training.html Help improve RT by taking our user survey: https://www.surveymonkey.com/s/N23JW9T