RT::Ac...SNotify(3pm)
β¨ NAME β¨
RT::Action::SMSNotify β an action that sends SMS notifications π π± (this is the RT::Action::SMSNotify page from the User Contributed Perl Documentation, bestie, come get your girl)
π DESCRIPTION π
Okay so first things first: this page is just the vibe check on the action itself. For the whole story β like how to actually use this extension, and how to customise error reporting β you wanna go read RT::Extension::SMSNotify. That's where the details live. π«Ά
Now, this action can be invoked a few different ways:
- directly, all by itself π
- from
rt-crontool - or via a Scrip
However you call it, she's ready. Periodt.
πΈ ARGUMENTS πΈ
Like literally every other RT action, RT::Action::SMSNotify takes a single argument. Just one. That's it.
And that one argument is a comma-delimited string of codes β each code tells the module where to go get the phone numbers it's gonna SMS. β¨
Heads up bestie: wherever a group shows up in a category, all the users from that group get recursively added. Like, the whole squad. π«Ά
π The Recognised Codes π
TicketRequestors
The ticket requestor(s). π May be groups.
TicketCc
All entries in the ticket Cc field.
TicketAdminCc
All entries in the ticket AdminCc field.
TicketOwner
The ticket Owner field. π
QueueCc
All queue watchers in the Cc category on the queue.
QueueAdminCc
All queue watchers in the AdminCc category on the queue.
g:name
The RT group with name 'name'. π¦
Ngl, if that group doesn't exist, she's ignored with a warning. Also β and this is the part nobody loves β there's no mechanism for escaping commas in names. So don't try it. π
p:number
A phone number, specified in +0000000 form β no spaces, no commas, none of that. Just the digits, clean and iconic. π
filtermodule:
Okay so this one's fun. You can override the phone number filter function on a per-call basis by passing filtermodule: in the arguments. π§
The argument has to be the name of a module that defines a GetPhoneForUser function.
And here's the cute part: this can appear anywhere in the argument string. So for example, if you wanted to force the use of the OnShift filter for this action, you might write:
TicketAdminCc,TicketRequestors,TicketOwner,TicketCc,filtermodule:RT::Extension::SMSNotify::OnShift
Slay. π
And that's the whole page, bestie! This little icon was brought to you by perl v5.36.0, dated 2023-09-25 β mwah, thanks for reading, ily, go text somebody. ππ±β¨
π¦ where this page comes from
- ubuntu noble: rt4-extension-smsnotify 1.04-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms