Digital analog-relaying system with compensator