RT::Action::SMSNotify
See RT::Extension::SMSNotify for details on how to use this extension, including how to customise error reporting.
This action may be invoked directly, from rt-crontool, or via a Scrip.
RT::Action::SMSNotify takes a single argument, like all other RT actions. The argument is a comma-delimited string of codes indicating where the module should get phone numbers to SMS from. Wherever a group appers in a category, all the users from that group will be recursively added.
Recognised codes are:
The ticket requestor(s). May be groups.
All entries in the ticket Cc field
All entires in the ticket AdminCc field
The ticket Owner field
All queue watchers in the Cc category on the queue
All queue watchers in the AdminCc category on the queue
The RT group with name 'name'. Ignored with a warning if it doesn't exist. No mechanism for escaping commas in names is provided.
A phone number, specified in +0000000 form with no spaces, commas etc.
You may override the phone number filter function on a per-call basis by passing filtermodule: in the arguments. The argument must be the name of a module that defines a GetPhoneForUser function.
This can appear anywhere in the argument string. For example, to force the use of the OnShift filter for this action, you might write:
TicketAdminCc,TicketRequestors,TicketOwner,TicketCc,filtermodule:RT::Extension::SMSNotify::OnShift
To install RT::Extension::SMSNotify, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::SMSNotify
CPAN shell
perl -MCPAN -e shell install RT::Extension::SMSNotify
For more information on module installation, please visit the detailed CPAN module installation guide.