(SOLVED) Why are notifications sending from a phone ticket?
Moderator: crythias
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
(SOLVED) Why are notifications sending from a phone ticket?
Hi all,
I activated an auto-response on my queues this week. Type = auto reply. But the problem is it's sending out to customers when a phone ticket is created.
I thought it was only to an email ticket that this gets sent out??
I'm referring to of course to the notification of a new ticket. All other events post this are ok
I activated an auto-response on my queues this week. Type = auto reply. But the problem is it's sending out to customers when a phone ticket is created.
I thought it was only to an email ticket that this gets sent out??
I'm referring to of course to the notification of a new ticket. All other events post this are ok
Last edited by morecw on 08 Nov 2012, 10:06, edited 1 time in total.
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- 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: Why are notifications sending from a phone ticket???
Why? Because it is said in the code:
(<OTRS_HOME>/Kernel/Modules/AgentTicketPhone.pm)
You see the "AutoResponseType"? If you want to disable that you should comment this line:
(<OTRS_HOME>/Kernel/Modules/AgentTicketPhone.pm)
Code: Select all
my $ArticleID = $Self->{TicketObject}->ArticleCreate(
NoAgentNotify => $NoAgentNotify,
TicketID => $TicketID,
ArticleType => $Self->{Config}->{ArticleType},
SenderType => $Self->{Config}->{SenderType},
From => $GetParam{From},
To => $To,
Subject => $GetParam{Subject},
Body => $GetParam{Body},
MimeType => $MimeType,
Charset => $Self->{LayoutObject}->{UserCharset},
UserID => $Self->{UserID},
HistoryType => $Self->{Config}->{HistoryType},
HistoryComment => $Self->{Config}->{HistoryComment} || '%%',
AutoResponseType => 'auto reply',
OrigHeader => {
From => $GetParam{From},
To => $GetParam{To},
Subject => $GetParam{Subject},
Body => $Self->{LayoutObject}->RichText2Ascii( String => $GetParam{Body} ),
},
Queue => $Self->{QueueObject}->QueueLookup( QueueID => $NewQueueID ),
);
Code: Select all
# AutoResponseType => 'auto reply',
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Why are notifications sending from a phone ticket???
Ok good. I'm not sure how I came to the conclusion that phone tickets don't send emails on ticket creation..
I would simply like to use the telephone and email ticket buttons as a choice between "send customer a notification that the ticket has been created, or not".
I assume the owner and responsible will still get notification?
I would simply like to use the telephone and email ticket buttons as a choice between "send customer a notification that the ticket has been created, or not".
I assume the owner and responsible will still get notification?
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- 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: Why are notifications sending from a phone ticket???
not necessarily. When an owner is set, no agent notifications are sent (but this has nothing to do with the AutoResponseType)
From the code (AgentTicketPhone.pm):
From the code (AgentTicketPhone.pm):
Code: Select all
# check if new owner is given (then send no agent notify)
my $NoAgentNotify = 0;
if ( $GetParam{NewUserID} ) {
$NoAgentNotify = 1;
}
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Why are notifications sending from a phone ticket???
try to change the line
waiting for your feedback. thx
Code: Select all
AutoResponseType => 'autoreply',
in
Kernel/Modules/AgentTicketPhone.pm
to:
AutoResponseType => '',
Produktiv: OTRS: 4.0.10
Testing": OTRS: 5
OS: Debian 7
Apache2/MySQL 5
Testing": OTRS: 5
OS: Debian 7
Apache2/MySQL 5
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Why are notifications sending from a phone ticket???
I will get back to you in a couple of hours. I have to prepare a vm so I don't annoy the live system users anymore! thanks
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Why are notifications sending from a phone ticket???
I make this change on every update for this reason. It works perfectly.rey90 wrote:try to change the linewaiting for your feedback. thxCode: Select all
AutoResponseType => 'autoreply', in Kernel/Modules/AgentTicketPhone.pm to: AutoResponseType => '',
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
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
-
- 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: Why are notifications sending from a phone ticket???
you should file a bug
It's easy to make it configurable...

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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny superhero
- Posts: 723
- Joined: 10 Oct 2007, 14:30
- Znuny Version: 3.0
- Location: Hamburg, Germany
Re: Why are notifications sending from a phone ticket???
One should go Renee´s way. In my case this is wanted for internal customers (IT-OTRS as Helpdesk), since we want Users to have Tickets, as well as Ticket Numbers they can reply to.
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Why are notifications sending from a phone ticket???
ok so that worked!! Thanks very much
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Why are notifications sending from a phone ticket???
oh nooo! So I've got the phone ticket working how I want. But now I find that the email ticket isn't using the 'AutoResponseType => 'auto reply',
I was really hoping it would compose a ticket the same way the phone ticket does except it sends the notification to the customer using the "auto reply" which I have already prepared. As a company it makes sense to us to use the same standard "new ticket" notification when a) customer uses Customer.pl b) Emails OTRS c) Agent creates a ticket via Email Ticket. But of course Phone Ticket remains without a customer notification.
So is possible to add "AutoResponseType => 'auto reply'," somewhere in AgentTicketEmail.pm to get this working?
p.s As my initial problem is now solved I will make another post for this.
I was really hoping it would compose a ticket the same way the phone ticket does except it sends the notification to the customer using the "auto reply" which I have already prepared. As a company it makes sense to us to use the same standard "new ticket" notification when a) customer uses Customer.pl b) Emails OTRS c) Agent creates a ticket via Email Ticket. But of course Phone Ticket remains without a customer notification.
So is possible to add "AutoResponseType => 'auto reply'," somewhere in AgentTicketEmail.pm to get this working?
p.s As my initial problem is now solved I will make another post for this.
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: (SOLVED) Why are notifications sending from a phone tick
New post to discuss Email Ticket problem, here viewtopic.php?f=62&t=17985
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22