Alex - 2013-07-18

I have to add that my system is 3.2.0-23-generic Ubuntu SMP x86_64 GNU/Linux
(Ubuntu 12.04 server)
perl version is 5.14.2 and OTRS is 3.1.4.
Call of OTRS function via SOAP looks like:

sub getOtrsQueues{

    return undef unless my $RPC = getOtrsRPC();

    my $som = $RPC->Dispatch($Include::OTRS_soap_login, $Include::OTRS_soap_pass, 'QueueObject','QueueList');
    return undef if not defined($som) or $som->fault;
    my $Queues = +{$som->paramsall};

    exists $Include::support_viewable_queues{$_}?'':delete($$Queues{$_}) foreach keys %$Queues;
    return $Queues;
}