Agent open ticket from outlook

Moderator: crythias

Locked
luisforman
Znuny newbie
Posts: 6
Joined: 14 Dec 2010, 15:58
Znuny Version: 3.03

Agent open ticket from outlook

Post by luisforman »

I am new to OTRS and we are evaluating it, I am trying to configure some agents to open tickets sending messages from outlook.

I am trying to find a configuration that would allow agents to send tickets from outlook or thunderbird or gmail and show in the queu as an agent and not as a customer.

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

Re: Agent open ticket from outlook

Post by crythias »

Customers send tickets... agents answer them... :)

http://wiki.otrs.org/index.php?title=Cr ... _API_calls


Filtername: Get the username from the email address (before @)
Match:
Header 1: Body Value: #customer ([a-zA-Z0-9_\-\.]+)@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})
Set:
Header 1: X-OTRS-CustomerUser Value: [***]


Agents send an email with body that contains:
#customer email@address.tld
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
luisforman
Znuny newbie
Posts: 6
Joined: 14 Dec 2010, 15:58
Znuny Version: 3.03

Re: Agent open ticket from outlook

Post by luisforman »

thank you for the help.
luisforman
Znuny newbie
Posts: 6
Joined: 14 Dec 2010, 15:58
Znuny Version: 3.03

Re: Agent open ticket from outlook

Post by luisforman »

crythias,

I had sucess with the email filter.
I am Trying to create another but I am having trouble definig the proper expression to get the result I want.

What i am inputing on the filter is:

Filtername: Service definition
Match:
Header 1: Body Value: #service [a-zA-Z0-9_\-\.]
Set:
Header 1: X-OTRS-Service Value: [***]

In the log i see that OTRS finds a Match, but instead of getting the hole service name (Estimates) it gets only E

I think the problem is on the expression but i do not know where i can find some documentation about it?

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

Re: Agent open ticket from outlook

Post by crythias »

http://regexpal.com/

append + to your regex.
[a-zA-Z0-9_\-\.]+

What it means:
search for a letter, number, underscore, hyphen, or period PLUS one or more of the previous things up to something that isn't in the search criteria (such as space, !, $, comma, end of line/carriage return).
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
luisforman
Znuny newbie
Posts: 6
Joined: 14 Dec 2010, 15:58
Znuny Version: 3.03

Re: Agent open ticket from outlook

Post by luisforman »

Thank you again
the site was perfect for me to find the proper regexp.

Do you know where i can find the definition of the field X-OTRS-Service? because the post master is seting it to '1' so i think this is not the service name i want to add.
Locked