This paper deals with an analytical solution of an oscillatory flow in a channel filled with a porous medium saturated with a viscous fluid. The consideration of porosity in the channel is the basic idea of the paper. The oscillatory waves in the channel with porous medium are produced due to self-excited pressure disturbances caused by inevitable fluctuation in a suction rate at the porous walls. The ensuing steady axial velocity and the time dependent oscillatory axial velocity are found analytically using perturbation method and WKB approximation. The important physical quantities like the velocity profile, amplitude of the oscillation and penetration depth of the oscillatory velocity have been given special emphasis in this analysis. The effects of porosity of the medium on these quantities are calculated analytically and examined graphically. We find that the amplitude of oscillatory velocity and the penetration depth of the oscillatory axial velocity decrease with increasing values of inverse Darcy parameter. The oscillations in the fluid can be minimized by decreasing the permeability of the medium.