Agent Ticket Phone services per queue

Moderator: crythias

Locked
aismail
Znuny newbie
Posts: 5
Joined: 10 Aug 2011, 03:31
Znuny Version: 3.0.9

Agent Ticket Phone services per queue

Post by aismail »

Hi All,
I'm trying to display certain services depending on the queue selected. I added the following to the Config.pm:

$Self->{TicketAcl}->{'ACL-Customer-Services'} = {
Properties => {Frontend => {Action =>['CustomerTicketMessage','AgentTicketPhone', 'AgentTicketEmail']}, },
# Show Services for Queues
Possible => {Ticket => { Service =>
['[RegExp]::','[RegExp]^*']} } };

$Self->{TicketAcl}->{'ACL-Name-1'} = {
# match properties
Properties => {
Frontend => {Action =>['CustomerTicketMessage','AgentTicketPhone', 'AgentTicketEmail']},

Queue => { Name => ['[RegExp]^Q1'] },
},

Possible => {
Ticket => { Service => ['[RegExp]::',
'[RegExp]^S1',
'[RegExp]^s3',],
},
},
};

I got the code from an existing post in the forum and it works perfectly for queues, sub-queues, services, sub-services.

However, it only works for the CustomerTicketMessage and not for the other two. Am I doing something wrong?

Thanks and best regards
Locked