How to check if ticket gets response

Moderator: crythias

Locked
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

How to check if ticket gets response

Post by tentacle »

Hi,

How could you check if ticket gets response and do something afterwards?

I'm trying to create module for sending SMS messages to agents after new tickets and
responses.

For new tickets I've got it working already.

Thanks!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to check if ticket gets response

Post by crythias »

Followup
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

Hi,

I've tried to modify Test.pm.

For new tickets I could run my bash script with:

if ( $Param{Event} eq 'TicketCreate' ) {
#something
}

But what is the event that would trigger followup?

i've tried countless variations of followup, ticketfollowup, etc.

if ( $Param{Event} eq 'FollowUp' ) {
#something for followup
}

Clearly something very obvious but not for me :)

Thanks for helping!
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: How to check if ticket gets response

Post by KlausNehrer »

You dont need notification via e-mail on followup? You want notify via sms?
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

Yes, I'd like to notify agents via SMS instead of email and have suitable bash script
to do it. Just need to integrate it with OTRS.

Email notifications could even be replaced if needed / easier.
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

It would be nice if email notifications could just be replaced so that notification settings
would apply for agents.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to check if ticket gets response

Post by crythias »

agent email = phonenumber@cellserviceprovider can work.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

Hi,

We have dedicated SMS box for notifications and it needs to be
used via special script.
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

Is there function which sends out all notifications?

I could just run my script instead of it or after/before.

This way notification settings would also apply.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to check if ticket gets response

Post by crythias »

The weirdest thing... it's called ... Kernel/System/Notification.pm
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

I just can't see the section of code where it actually sends out notifications though.
tentacle
Znuny newbie
Posts: 20
Joined: 13 Apr 2013, 10:30
Znuny Version: 3.2.4
Real Name: Jaska

Re: How to check if ticket gets response

Post by tentacle »

Where should I place my script if I'd like it to run when new tickets are generated
and agents would be normally notified?
Locked