Save the ticket to samba.

Moderator: crythias

Post Reply
andreyOtrs
Znuny newbie
Posts: 3
Joined: 30 Nov 2015, 08:47
Znuny Version: 4 & 5
Real Name: Andrey

Save the ticket to samba.

Post by andreyOtrs »

how to keep the ticket on the samba?
ubuntu otrs 4 & 5.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Save the ticket to samba.

Post by crythias »

Hello, welcome to the OTRS forum!
Note that this is a volunteer forum and not *official* support.

Kindly read my "Need help?" link in my signature and let us know what you're trying to accomplish. Think of what you're asking as if you walked up to your boss or your mom and said the thing you posted, with zero context. What do you think they'd ask of you? We're going to ask the same thing:

What are you trying to accomplish?
What have you tried?


Note that you can click "Print" on a ticket and make a PDF and save that.
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
andreyOtrs
Znuny newbie
Posts: 3
Joined: 30 Nov 2015, 08:47
Znuny Version: 4 & 5
Real Name: Andrey

Re: Save the ticket to samba.

Post by andreyOtrs »

I want to keep the tickets as text, subject, and the first 50 characters in the folder on Linux.
SMS gate will take a text file and send a SMS.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Save the ticket to samba.

Post by crythias »

ok, but as an aside, you can use a notification event to email the sms notification (assuming you know the carrier).
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
andreyOtrs
Znuny newbie
Posts: 3
Joined: 30 Nov 2015, 08:47
Znuny Version: 4 & 5
Real Name: Andrey

Re: Save the ticket to samba.

Post by andreyOtrs »

I already have a working SMS gateway, taking away the text of the folders.
problem otrs. how to save the tickets?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Save the ticket to samba.

Post by crythias »

andreyOtrs wrote:problem otrs. how to save the tickets?
You can't, unless you want to use GenericAgent Ticket Event CMD

something like create a batch file (mysamba.sh):

Code: Select all

/otrs/bin/otrs.GetTicketThread.pl -t $2 -l 1  > /samba/path/storage/location
Then trigger Generic Agent on TicketCreate. the CMD is /path/to/mysamba.sh
Whatever you'd want to do from there to cut/grep/filter/awk is up to you.
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
Post Reply