Agent <- domain

Moderator: crythias

Locked
palacietes
Znuny newbie
Posts: 24
Joined: 02 Oct 2014, 12:26
Znuny Version: 3.1.12

Agent <- domain

Post by palacietes »

Hi, i'm using OTRS 3.1.12 with several LDAP domains. I have some generic queues and i want to send email notifications to agents according to a customer's domain.
is it possible to do that?

F.i:

client@domain1 opens a ticket on "Printer broken" queue --> Sends email to agent1@domain1
client@domain2 opens a ticket on "Printer broken" queue --> Sends email to agent2@domain1

Thanks in advance
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Agent <- domain

Post by RStraub »

Did you try a postmasterfilter with setting Responsible?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
palacietes
Znuny newbie
Posts: 24
Joined: 02 Oct 2014, 12:26
Znuny Version: 3.1.12

Re: Agent <- domain

Post by palacietes »

No I didn't. I don't know where can do that. Can you explain how to do?
I'm newbie with otrs
Thanks
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Agent <- domain

Post by RStraub »

http://otrs.github.io/doc/manual/admin/ ... sterfilter

There you could Set Responsible (if activated) or Owner. They then should receive an owner / responsible update notification.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
palacietes
Znuny newbie
Posts: 24
Joined: 02 Oct 2014, 12:26
Znuny Version: 3.1.12

Re: Agent <- domain

Post by palacietes »

Thanks for the information, but I think this doesn't work for me.

My customers have the follow info:

LDAP username: client1@domain1.com E-mail: client1@domain1.com -->Agent_X
LDAP username: client2@domain2.com E-mail: client2@domain1.com -->Agent_Y

All my customers share email domain, but they've different LDAP domains, so I think I can't make an email rule based on field from.
Thanks
palacietes
Znuny newbie
Posts: 24
Joined: 02 Oct 2014, 12:26
Znuny Version: 3.1.12

Re: Agent <- domain

Post by palacietes »

has anyone any ideas?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Agent <- domain

Post by reneeb »

A perl Postmaster filter should work. You can find a sample filter at https://gist.github.com/reneeb/930cc513fece99dfeb67
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Agent <- domain

Post by crythias »

The way it should work for this is:
1) Set up queues for locations (I don't like this, but on locations, you may not have a choice)
2) Appropriate agents have the queue in the Agent's My Queues and notification Yes
3) PostmasterFilter sees domain and forwards to appropriate queue.
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
palacietes
Znuny newbie
Posts: 24
Joined: 02 Oct 2014, 12:26
Znuny Version: 3.1.12

Re: Agent <- domain

Post by palacietes »

I think Crythias' solution may be a solution, but in this case I need to hide some Queues to customers, and I don't know how to do that.

If I could get Company information from LDAP maybe I could filter by it. i'm going to try to create this field in Config.pm like UserCustomerIDs.

I'm going to take a look to reneeb suggestion.

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

Re: Agent <- domain

Post by crythias »

palacietes wrote:I need to hide some Queues to customers
That wasn't evident from the original post, and is a different question than:
palacietes wrote:client@domain1 opens a ticket on "Printer broken" queue --> Sends email to agent1@domain1
client@domain2 opens a ticket on "Printer broken" queue --> Sends email to agent2@domain1
Admittedly, we should have asked and you should have specified...

Enable CustomerGroupSupport. or this thread.
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
Locked