Only open new agent ticket phone if customer exist

Moderator: crythias

Post Reply
fight12
Znuny newbie
Posts: 8
Joined: 02 Jan 2014, 12:54
Znuny Version: 6.0.1

Only open new agent ticket phone if customer exist

Post by fight12 »

Hello,
I would like to know how to make possible a new agent ticket phone to be opened only if the selected customer is registered (the customer exist in the application).

Could you help me?
Thank you in advance.
fcasal
Znuny wizard
Posts: 336
Joined: 21 Apr 2014, 16:14
Znuny Version: 6.0.18

Re: Only open new agent ticket phone if customer exist

Post by fcasal »

I am not sure about your question, because How can you selected a customer that is not registered?
fight12
Znuny newbie
Posts: 8
Joined: 02 Jan 2014, 12:54
Znuny Version: 6.0.1

Re: Only open new agent ticket phone if customer exist

Post by fight12 »

Thank you fcasal.
Well I don't mind, the fact is that I want only to create tickets from a customer that exist (they appear in the drop-down FROM field), as we can do when using the API.

Regards
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: Only open new agent ticket phone if customer exist

Post by reneeb »

That's not possible in stock OTRS. You would need to add some Perl code in Kernel/Modules/AgentTicketPhone.pm. It should be somewhere around this line: https://github.com/OTRS/otrs/blob/aaad4 ... ne.pm#L952
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
fight12
Znuny newbie
Posts: 8
Joined: 02 Jan 2014, 12:54
Znuny Version: 6.0.1

Re: Only open new agent ticket phone if customer exist

Post by fight12 »

Thanks reneeb, this was the alternative option I was thinking about... I'll work on it
Post Reply