[en] The general solution of the inverse scattering problem is found for an arbitrary unitary many-channel S-matrix. Particular solutions correspond to particular off-shell continuations of S and are usually nonlocal. The method is simple and applicable in the relativistic case as well