Modification of the Tao-Eldrup model is proposed in order to extend its usefulness to the case of porous media. The modification consists in the transition from spherical to capillary geometry and in inclusion of pick-off annihilation from the excited states of a particle in the well. Approximated equations for pick-off constant in these states are given. The model was tested by observing the temperature dependences of o-Ps lifetime in various media. In the case of silica gels and Vycor glass with narrow pores, the model seems to work well, while for larger pores in Vycor unexpectedly long lifetimes appear in the range of lowest temperatures.