Scattering in the vicinity of relativistic jets: A method for constraining jet parameters