Custom action to use OwnerPager rather than OwnerEmail

For some time I’ve been trying to figure out what I assume should be
fairly simple without any luck. I’d sure appreciate some help.

I just need a custom action that sends a notification to the email
address of an email to sms gateway address that we store in the
OwnerPager field of a users account info.

It’s basically just like a NotifyOwner action but we want the
notification to go to the value in the OwnerPager field rather than
their standard email address.

Thanks in advance.

Darrell Burkey
0408 622 647

For some time I’ve been trying to figure out what I assume should be
fairly simple without any luck. I’d sure appreciate some help.

I just need a custom action that sends a notification to the email
address of an email to sms gateway address that we store in the
OwnerPager field of a users account info.
I’ve subclassed Action::Notify for you, imho this should work.
Place this file into lib/RT/Action/ dir.
Then add record for ‘NotifyViaPager’ into table ScripActions, take
Notify records as example. Leave Argument field empty, it doesn’t make
sense for attached action.

It’s basically just like a NotifyOwner action but we want the
notification to go to the value in the OwnerPager field rather than
their standard email address.

Thanks in advance.

Darrell Burkey
0408 622 647

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Best regards, Ruslan.

NotifyViaPager.pm (5.27 KB)

Attached wrong fileOn 7/31/05, Ruslan Zakirov ruslan.zakirov@gmail.com wrote:

On 7/30/05, Darrell Burkey president@case.org.au wrote:

For some time I’ve been trying to figure out what I assume should be
fairly simple without any luck. I’d sure appreciate some help.

I just need a custom action that sends a notification to the email
address of an email to sms gateway address that we store in the
OwnerPager field of a users account info.
I’ve subclassed Action::Notify for you, imho this should work.
Place this file into lib/RT/Action/ dir.
Then add record for ‘NotifyViaPager’ into table ScripActions, take
Notify records as example. Leave Argument field empty, it doesn’t make
sense for attached action.

It’s basically just like a NotifyOwner action but we want the
notification to go to the value in the OwnerPager field rather than
their standard email address.

Thanks in advance.

Darrell Burkey
0408 622 647

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


Best regards, Ruslan.

Best regards, Ruslan.

NotifyViaPager.pm (668 Bytes)