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

πŸ“¦ version 1.04, in debian bookworm, ubuntu jammy

πŸ’– RT::Ac...SNotify β€” bestie edition πŸ’–

okay so this is RT::Action::SMSNotify, a User Contributed Perl Documentation page, and it's basically the plug that makes RT text people. sit down, hydrate, let's go 🫢


✨ NAME ✨

RT::Action::SMSNotify β€” an action to send SMS notifications πŸ“±βœ¨


🌸 DESCRIPTION 🌸

For the full tea on how to actually use this extension β€” including how to customise error reporting β€” go read RT::Extension::SMSNotify. That's the main character here, this page is just the supporting cast.

This action can be invoked directly, from rt-crontool, or via a Scrip. three entrances, one queen πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

RT::Action::SMSNotify takes a single argument, just like every other RT action. no drama, no extra params. The argument is a comma-delimited string of codes telling the module where it should go grab phone numbers to SMS from. and here's the cute part: whenever a group shows up in a category, all the users from that group get recursively added. whole friend group pulled in, no one left on read πŸ’…

The recognised codes are:

πŸ’Œ 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. Ignored with a warning if it doesn't exist. lowkey a bummer but okay.

⚠️ No mechanism for escaping commas in names is provided. so if your group name has a comma in it… bestie, it's over πŸ’€

πŸ’Œ p:number

A phone number, specified in +0000000 form with no spaces, commas etc. keep it clean, no crumbs.

πŸ’Œ filtermodule:

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. custom filter, custom vibe ✨

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

and that's the whole page, no cap 🌈 that was perl v5.32.0, dated 2021-01-09, from the RT::Ac...SNotify(3pm) page in the User Contributed Perl Documentation. thanks for coming to my ted talk, go text somebody you love πŸ’–πŸ‘‘πŸŽ€

πŸ“¦ where this page comes from