Active signal restoration for the telegraph equation