Phase randomness in a one-dimensional disordered absorbing medium