A link between quasielastic scattering and sound attenuation in Silver phosphate glasses