Media gateways are connected to the phone network through either a main distribution frame (wallfield) built on a wall in a phone closet or patch panels mounted in a rack.