Recording and replaying echo data