A quasistationary solution of a two-component system of first-order telegraph equations on an interval with time-dependent conditions is constructed, where these conditions are prescribed at interior points of the interval. Application of the obtained solution as a criterion for leakage detection is considered.