The motion of liquid filling a pipeline is impeded when the gas ahead of it cannot escape freely. Trapped gas will lead to a significant pressure build-up in front of the liquid column, which slows down the column and eventually bounces it back. This paper is an extension of previous work by the authors in the sense that the trapped gas can escape through a vent. Another addition is that the driving pressure is not kept constant but fluctuating. The obtained analytical and numerical solutions are utilized in parameter variation studies that give deeper insight in the system's behavior.