  The dynamics of perturbed non-rotating black holes (BHs) can be described in
terms of master equations of the wave type with a potential. In the frequency
domain, the master equations become time-independent Schr\"odinger equations
with no discrete spectrum. It has been recently shown that these wave equations
possess an infinite number of symmetries that correspond to the flow of the
infinite hierarchy of Korteweg-de Vries (KdV) equations. As a consequence, the
infinite set of associated conserved quantities, the KdV integrals, are the
same for all the different master equations that we can consider. In this paper
we show that the BH scattering reflection and transmission coefficients
characterizing the continuous spectrum can be fully determined via a moment
problem, in such a way that the KdV integrals provide the momenta of a
distribution function depending only on the reflection coefficient. We also
discuss the existence and uniqueness of solutions, strategies to solve the
moment problem, and finally show the case of the P\"oschl-Teller potential
where all the steps can be carried out analytically.
