There are two ways -- one is just to avoid the hidden plate on the floor that triggers the ball. If you stay along the very edges of that hallway, you should be able to do this.
If you can't -- or don't want to -- avoid the plate, there are two buttons at the end of hallway. Press those.