RT::Ac...SNotify(3pm)

πŸ“¦
version 1.04 Β· 2 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

RT::Action::SMSNotify β€” an action that sends SMS notifications, bestie. that's it, that's the vibe ✨


🌸 DESCRIPTION 🌸

okay so real talk: if you wanna know how to actually use this extension β€” like, including how to customise the error reporting β€” you gotta go read RT::Extension::SMSNotify. it's all in there. no cap. πŸ“–

this action can be invoked directly, from rt-crontool, or via a Scrip. three ways, pick your fighter πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

RT::Action::SMSNotify takes a single argument, just like literally every other RT action. and that one argument is a comma-delimited string of codes telling the module where to go grab phone numbers to SMS from. 🫢

and here's the tea: whenever a group shows up in a category, all the users in that group get recursively added. all of them. the whole squad. πŸ‘‘

the recognised codes are, and yes we're going through every single one:

✨ TicketRequestors ✨

the ticket requestor(s). may be groups! πŸ‘₯

✨ TicketCc ✨

every entry in the ticket Cc field πŸ“‹

✨ TicketAdminCc ✨

every entry 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'. heads up tho β€” if it doesn't exist, it gets ignored with a warning. πŸ™ˆ and no mechanism for escaping commas in names is provided, so don't come for me if your group name has a comma in it, i don't make the rules 😭

✨ p:number ✨

a phone number, specified in +0000000 form with no spaces, commas etc. πŸ“± keep it clean, keep it tight.

✨ filtermodule: ✨

ohhh 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 it can appear anywhere in the argument string. like, anywhere-anywhere. 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. that's the whole thing. go forth and text people πŸ“²πŸ’–


and that's a wrap, babe 🎬 this little beauty came to you from the User Contributed Perl Documentation corner of the internet, perl v5.40.1, dated 2025-03-22 β€” the manual page formally known as RT::Ac...SNotify(3pm). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from