On the vibrations of multi-span beams with external and internal flexibility and damping