We demonstrate that the fission of higher-order N-solitons with a subsequent ejection of fundamental quasi-solitons creates cavities formed by a pair of solitary waves with dispersive light trapped between them. As a result of multiple reflections of the trapped light from the bounding solitons which act as mirrors, they bend their trajectories and collide. In the spectral domain, the two solitons receive blue and red wavelength shifts, and the spectrum of the trapped light alters as well. This phenomenon strongly affects spectral characteristics of the generated supercontinuum. Consideration of the system's parameters which affect the creation of the cavity reveals possibilities of predicting and controlling soliton-soliton collisions induced by multiple reflections of the trapped light.