Phone View: Queues are incorrect

Hello,
I have setup the following queues:
netadmin-raw
sysadmin-raw
helpdesk-raw
billing-raw
However, when I go into the "Phone View", for when I
wish to enter a ticket for someone who calls in with a
problem, for example, these are thee queues that are
available to place the ticket into:

Hi Alan, On Sat, Jun 21, 2003 at 01:44:08AM -0400, Alan Murrell wrote:
I have setup the following queues:
netadmin-raw sysadmin-raw helpdesk-raw billing-raw
However, when I go into the "Phone View", for when I wish to enter a ticket for someone who calls in with a problem, for example, these are thee queues that are available to place the ticket into:
Queue: Junk Queue: billing-raw and that is it. None of the other queues are in there, and these ones are pointing to the wrong ones.
Any ideas as to what could be going on here? I am thining that possibly the database ID's are messed up, but wanted to see if it could be anything else first before I try monkeying around with the
You have two differnt types of the queue selection. SystemAddress (default) and Queue. Add the following to Kernel/Config.pm and you will have a queue selection (not a system address selection). [...] $Self->{PhoneViewSelectionType} = 'Queue'; $Self->{PhoneViewSelectionString} = '<Queue>'; [...] For more see Kernel/Config/Defaults.pm
Alan Murrell
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.

Hi Martin,
[...] $Self->{PhoneViewSelectionType} = 'Queue'; $Self->{PhoneViewSelectionString} = '<Queue>'; [...]
Thank you, this has helped a bit. However, I cannot
seem to add more than one queue this way. For
example, I wish to have a queue for "Support",
"Billing", and "Sales". I put the following in my
Config.pm:
[...]
$Self->{PhoneViewSelectionType} = 'Queue';
$Self->{PhoneViewSelectionString} = 'Queue:
Billing';
$Self->{PhoneViewSelectionString} = 'Queue:
Sales';
$Self->{PhoneViewSelectionString} = 'Queue:
Support';
[...]
However, only the last-listed queue shows up (i.e.,
the "Support" queue), and when I click on the "down
arrow" to see the list of queues, it is in there about
a dozen times. If I comment it out in Config.pm, then
the same thing happens, only witht he "Sales" queue.
I have tried various combinations of setting
'PhoneViewASP' and 'ShowCustomerSelection' to '1' and
'0', but this has not helped.
I even tried using the 'PhoneViewOwnSelection', but it
just gave me an "internal server error".
How do I dsiplay mutiple queues of my own choosing in
PhoneView? It's not so much for staff that I want
this, as much as I would like to have only those
queues I choose to show up in the 'customer.pl' page
(I don't want them to be able to put a ticket into the
'sysadmin-raw' or 'netadmin-raw' queues).
TIA for your help.
Alan Murrell

Hi Alan, On Wed, Jun 25, 2003 at 10:11:15AM -0400, Alan Murrell wrote:
[...] $Self->{PhoneViewSelectionType} = 'Queue'; $Self->{PhoneViewSelectionString} = '<Queue>'; [...]
Thank you, this has helped a bit. However, I cannot seem to add more than one queue this way. For example, I wish to have a queue for "Support", "Billing", and "Sales". I put the following in my Config.pm:
[...] $Self->{PhoneViewSelectionType} = 'Queue'; $Self->{PhoneViewSelectionString} = 'Queue: Billing'; $Self->{PhoneViewSelectionString} = 'Queue: Sales'; $Self->{PhoneViewSelectionString} = 'Queue: Support'; [...]
That's the problem. .-) Just use the following 1:1 (don't replace <Queue>). [...] $Self->{PhoneViewSelectionType} = 'Queue'; $Self->{PhoneViewSelectionString} = '<Queue>'; [...] <Queue> will be replaced by the queue name.
I even tried using the 'PhoneViewOwnSelection', but it just gave me an "internal server error".
I guess this was a perl syntax error (have a look into your webserver error log).
How do I dsiplay mutiple queues of my own choosing in PhoneView? It's not so much for staff that I want
If you want you own choose of queues in PhoneView, use: [...] $Self->{PhoneViewOwnSelection} = { # QueueID => String '1' => 'First Queue!', '2' => 'Second Queue!', }; [...]
this, as much as I would like to have only those queues I choose to show up in the 'customer.pl' page (I don't want them to be able to put a ticket into the 'sysadmin-raw' or 'netadmin-raw' queues).
If you want you own choose of queues in Customer interface, use: [...] $Self->{CustomerPanelOwnSelection} = { # QueueID => String '1' => 'First Queue!', '2' => 'Second Queue!', }; [...]
Alan Murrell
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "Security is a process, not a product." - Bruce Schneier

Hi Martin,
Just use the following 1:1 (don't replace <Queue>).
[...] $Self->{PhoneViewSelectionType} = 'Queue'; $Self->{PhoneViewSelectionString} = '<Queue>'; [...]
<Queue> will be replaced by the queue name.
Ah, I had thought that '<Queue>' was just a placeholder that needed to be replaced by my own value(s). It works properly now :-)
just gave me an "internal server error".
I guess this was a perl syntax error (have a look into your webserver error log).
Actually, i think it was because I had uncommented the 'QueueID => String' value, which it turns out appears to only be an example :-)
If you want you own choose of queues in Customer interface, use:
[...] $Self->{CustomerPanelOwnSelection} = { # QueueID => String '1' => 'First Queue!', '2' => 'Second Queue!', }; [...]
That's perfect. Thank you! Now we can enable the
Customer interface :-)
Alan Murrell

Alan Murrell writes:
If you want you own choose of queues in Customer interface, use:
[...] $Self->{CustomerPanelOwnSelection} = { # QueueID => String '1' => 'First Queue!', '2' => 'Second Queue!', }; [...]
That's perfect. Thank you! Now we can enable the Customer interface :-)
(Almost) perfect for me too. This thread has been very useful. I hadn't cottoned on to the possibilities of the alternatives for PhoneViewSelectionType and CustomerPanelSelectionType, but making some or all of the queues available (Queue) in the agent interface, while restricting the customer interface to a single queue (SystemAddress) with a modified CustomerPanelSelectionString is just what I want. However, the QueueID that is required when defining PhoneViewSelectionString or CustomerPanelOwnSelection is the numeric id that is stored in the database. As far as I can tell, these ids aren't available from the agent interface. It would be convenient if they were displayed under Queue Management, in the way that user ids are displayed under User management. Also, it seems that OTRS sorts the entries alphabetically according to the 'String' values. I would like to force our default queue, Incoming, to be the default in PhoneViewSelectionString, but it's not the earlist alphabetically. Can it be done? I had expected the order of presentation to be the order of listing in PhoneViewSelectionString. Jim

Jim Wight writes:
Also, it seems that OTRS sorts the entries alphabetically according to the 'String' values. I would like to force our default queue, Incoming, to be the default in PhoneViewSelectionString, but it's not the earlist alphabetically. Can it be done? I had expected the order of presentation to be the order of listing in PhoneViewSelectionString.
Of course I meant PhoneViewOwnSelection, not PhoneViewSelectionString. I've hit upon an answer to getting Incoming to the top of the list. It came on realising that the 'String' values don't have to be the queue names, but can be any text. So I've simply added a leading space, which forces it to the top after sorting. Jim
participants (3)
-
Alan Murrell
-
Jim Wight
-
Martin Edenhofer