The article considers the task of determining the waiting time for a request in a queue in a general-type single-channel queueing system when time intervals between incoming requests are correlated. For solving the task, it is proposed to carry out decorrelation of specified time intervals using the discrete cosine transform. Generally, to analyze arbitrary distributions included in the expression for a decorrelated sequence, one can suggest an approach based on the approximation of unknown densities by a model distribution. The calculation of cumulants and moments of random variables is very simple compared to the analytical methods. Based on the found final set of cumulants, a model probability density can always be reproduced with a certain error. Generally, to calculate the average waiting time of a request in a queue, it is necessary to determine the correlation properties and one-dimensional probability density of time intervals between incoming requests, synthesize a two-dimensional probability density of a sequence of given intervals that has a measured correlation function, and, further, calculate joint moments and cumulants for correlated values, on which their model density is built.